aboutsummaryrefslogtreecommitdiffstats
path: root/common/pragmadefs.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-08-06 23:20:20 -0700
committerChris Robinson <[email protected]>2020-08-06 23:20:20 -0700
commit02f841966304efa8f4400f33396142705d3d4eaa (patch)
treebfa5c3a54fe0b18cc7f8ac2d1657e6a7cdd1baef /common/pragmadefs.h
parent58a2a5e2e3cf3c9ecdc261a38ff9da227a5d4a1c (diff)
Fix DIAGNOSTIC_POP for GCC and Clang
Diffstat (limited to 'common/pragmadefs.h')
-rw-r--r--common/pragmadefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/pragmadefs.h b/common/pragmadefs.h
index 1d0af066..9f0a711f 100644
--- a/common/pragmadefs.h
+++ b/common/pragmadefs.h
@@ -9,7 +9,7 @@
#else
#if defined(__GNUC__) || defined(__clang__)
#define DIAGNOSTIC_PUSH _Pragma("GCC diagnostic push")
-#define DIAGNOSTIC_POP _Pragma("GCC diagnostic push")
+#define DIAGNOSTIC_POP _Pragma("GCC diagnostic pop")
#else
#define DIAGNOSTIC_PUSH
#define DIAGNOSTIC_POP