diff options
-rw-r--r-- | src/net/sdltcpnet.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/sdltcpnet.h b/src/net/sdltcpnet.h index c96baf37a..b67abfcc3 100644 --- a/src/net/sdltcpnet.h +++ b/src/net/sdltcpnet.h @@ -30,10 +30,10 @@ #pragma GCC diagnostic pop #endif -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wold-style-cast" +PRAGMACLANG6(GCC diagnostic push) +PRAGMACLANG6(GCC diagnostic ignored "-Wold-style-cast") #include <SDL_net.h> -#pragma GCC diagnostic pop +PRAGMACLANG6(GCC diagnostic pop) #include "localconsts.h" |