projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
started collecting some parser tests
[cparser]
/
config.h
diff --git
a/config.h
b/config.h
index
e69de29
..
99b186a
100644
(file)
--- a/
config.h
+++ b/
config.h
@@
-0,0
+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