diff --git a/libraries/networking/src/DataServerAccountInfo.cpp b/libraries/networking/src/DataServerAccountInfo.cpp index 44e8dbef90..fd2c6da13d 100644 --- a/libraries/networking/src/DataServerAccountInfo.cpp +++ b/libraries/networking/src/DataServerAccountInfo.cpp @@ -17,7 +17,7 @@ #include "NetworkLogging.h" #include "DataServerAccountInfo.h" -#ifndef __GNUC__ +#ifdef __clang__ #pragma clang diagnostic ignored "-Wdeprecated-declarations" #endif diff --git a/libraries/networking/src/RSAKeypairGenerator.cpp b/libraries/networking/src/RSAKeypairGenerator.cpp index 2368b5e6d2..53b9b27cc6 100644 --- a/libraries/networking/src/RSAKeypairGenerator.cpp +++ b/libraries/networking/src/RSAKeypairGenerator.cpp @@ -18,7 +18,7 @@ #include "NetworkLogging.h" #include "RSAKeypairGenerator.h" -#ifndef __GNUC__ +#ifdef __clang__ #pragma clang diagnostic ignored "-Wdeprecated-declarations" #endif