projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
change back union stuff and expriment with new union mode for initializers
[cparser]
/
config.h
diff --git
a/config.h
b/config.h
index
c111953
..
99b186a
100644
(file)
--- a/
config.h
+++ b/
config.h
@@
-1,5
+1,11
@@
#define INLINE inline
-#ifndef __GCC__
+#ifdef __GNUC__
+#define NORETURN __attribute__((noreturn))
+#elif defined _MSC_VER
+#define NORETURN __declspec(noreturn)
+#define __attribute__(x)
+#else
+#define NORETURN
#define __attribute__(x)
#endif