diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-09-05 18:51:26 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-09-05 18:51:26 +0200 |
commit | df2c44401f8dd736a903e73813e5f83fb15b36b6 (patch) | |
tree | b845f54b2dbb3f14dab435d2640c58b7b85e7975 /include/util/Noreturn.hpp | |
parent | 43aaf39cc828f4e1cec12a944560571993fb24f7 (diff) | |
download | crawler-df2c44401f8dd736a903e73813e5f83fb15b36b6.tar.gz crawler-df2c44401f8dd736a903e73813e5f83fb15b36b6.tar.bz2 |
split away util, logger, and module
made a liblogger
adapted all tests
Diffstat (limited to 'include/util/Noreturn.hpp')
-rw-r--r-- | include/util/Noreturn.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/util/Noreturn.hpp b/include/util/Noreturn.hpp new file mode 100644 index 0000000..9f9862c --- /dev/null +++ b/include/util/Noreturn.hpp @@ -0,0 +1,11 @@ +#ifndef __NORETURN_H_ +#define __NORETURN_H + +#ifdef __GNUC__ +#define CRAWLER_NORETURN __attribute__((noreturn)) +#else +#define CRAWLER_NORETURN +#endif + +#endif + |