summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index ee333d1369..3c2e4e4cb0 100644
--- a/perl.h
+++ b/perl.h
@@ -386,7 +386,7 @@
* clang only pretends to be GCC 4.2, but still supports push/pop.
*/
-#if defined(__clang) || \
+#if defined(__clang__) || defined(__clang) || \
(defined( __GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 406)
# define GCC_DIAG_DO_PRAGMA_(x) _Pragma (#x)