diff options
Diffstat (limited to 'ruby.h')
-rw-r--r-- | ruby.h | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -20,6 +20,13 @@ extern "C" { #include "config.h" +#define NORETURN_STYLE_NEW 1 +#ifndef NORETURN +# define NORETURN(x) x +#endif +#ifndef DEPRECATED +# define DEPRECATED(x) x +#endif #ifndef NOINLINE # define NOINLINE(x) x #endif @@ -57,14 +64,6 @@ extern "C" { #define ISXDIGIT(c) (ISASCII(c) && isxdigit((int)(unsigned char)(c))) #endif -#define NORETURN_STYLE_NEW 1 -#ifndef NORETURN -# define NORETURN(x) x -#endif -#ifndef DEPRECATED -# define DEPRECATED(x) x -#endif - #if defined(HAVE_ALLOCA_H) #include <alloca.h> #endif |