fixed crash with unclosed string literal
[cparser] / config.h
index e69de29..e382f50 100644 (file)
--- a/config.h
+++ b/config.h
@@ -0,0 +1,13 @@
+#define INLINE inline
+
+#ifdef __GNUC__
+#define NORETURN __attribute__((noreturn))
+#elif defined _MSC_VER
+#define NORETURN __declspec(noreturn)
+#define __attribute__(x)
+#else
+#define NORETURN
+#ifndef __attribute__
+#define __attribute__(x)
+#endif
+#endif