projects
/
libjh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add JH_ATTR_NORETURN
[libjh.git]
/
header.h
diff --git a/header.h
b/header.h
new file mode 100644
(file)
index 0000000..
faf6756
--- /dev/null
+++ b/
header.h
@@ -0,0
+1,6
@@
+/***** COMPILER-SPECIFIC STUFF *****/
+#ifdef __GNUC__
+ #define JH_ATTR_NORETURN __attribute__ ((noreturn))
+#else
+ #define JH_ATTR_NORETURN /* nothing */
+#endif