fix printing of array types
[cparser] / config.h
index aae6e6b..99b186a 100644 (file)
--- a/config.h
+++ b/config.h
@@ -1 +1,11 @@
 #define INLINE inline
+
+#ifdef __GNUC__
+#define NORETURN __attribute__((noreturn))
+#elif defined _MSC_VER
+#define NORETURN __declspec(noreturn)
+#define __attribute__(x)
+#else
+#define NORETURN
+#define __attribute__(x)
+#endif