Should be upper case GCC
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 2 Apr 2013 13:21:53 +0000 (09:21 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 2 Apr 2013 13:21:53 +0000 (09:21 -0400)
src/include/build.h

index 032eb76..79dc62a 100644 (file)
@@ -13,8 +13,8 @@ extern "C" {
 #  define DEPRECATED_OFF _Pragma("clang diagnostic push");_Pragma("clang diagnostic ignored \"-Wdeprecated-declarations\"");
 #  define DEPRECATED_RST _Pragma("clang diagnostic pop");
 #elif __GNUC__
-#  define DEPRECATED_OFF _Pragma("gcc diagnostic push");_Pragma("gcc diagnostic ignored \"-Wdeprecated-declarations\"");
-#  define DEPRECATED_RST _Pragma("gcc diagnostic pop");
+#  define DEPRECATED_OFF _Pragma("GCC diagnostic push");_Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"");
+#  define DEPRECATED_RST _Pragma("GCC diagnostic pop");
 #else
 #  define DEPRECATED_OFF
 #  define DEPRECATED_RST