Commit 2c4b05c0 authored by Jens Gustedt's avatar Jens Gustedt
Browse files

OS X uses a noreturn identifier where they shouldn't

Reported and tested by: Francisco G. <frangio.1@gmail.com>
parent ac46c992
......@@ -853,6 +853,13 @@ static_assert(1);
# endif
#endif
/* Patch a flaw in OS X. They use __attribute__((noreturn)) which
explodes if noreturn is defined. */
#ifdef __APPLE__
# undef __dead2
# define __dead2 __attribute__((__noreturn__))
#endif
#ifdef P00_DOXYGEN
/**
** @def _Thread_local
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment