summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/sys/cdefs.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h
index 88f43e3..495daf2 100644
--- a/sys/sys/cdefs.h
+++ b/sys/sys/cdefs.h
@@ -254,14 +254,14 @@
#endif
/* C++11 exposes a load of C99 stuff */
-#if __cplusplus >= 201103L
-# define __LONG_LONG_SUPPORTED
-# ifndef __STDC_LIMIT_MACROS
-# define __STDC_LIMIT_MACROS
-# endif
-# ifndef __STDC_CONSTANT_MACROS
-# define __STDC_CONSTANT_MACROS
-# endif
+#if defined(__cplusplus) && __cplusplus >= 201103L
+#define __LONG_LONG_SUPPORTED
+#ifndef __STDC_LIMIT_MACROS
+#define __STDC_LIMIT_MACROS
+#endif
+#ifndef __STDC_CONSTANT_MACROS
+#define __STDC_CONSTANT_MACROS
+#endif
#endif
/*
OpenPOWER on IntegriCloud