projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Print the unskipped type in warnings.
[cparser]
/
config.h
diff --git
a/config.h
b/config.h
index
aae6e6b
..
e382f50
100644
(file)
--- a/
config.h
+++ b/
config.h
@@
-1
+1,13
@@
#define INLINE inline
#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