diff options
Diffstat (limited to '')
-rw-r--r-- | common/mischelp.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/common/mischelp.h b/common/mischelp.h index df009ad5e..940651f5e 100644 --- a/common/mischelp.h +++ b/common/mischelp.h @@ -48,25 +48,25 @@ time_t timegm (struct tm *tm); #define DIMof(type,member) DIM(((type *)0)->member) -#undef JNLIB_GCC_HAVE_PUSH_PRAGMA +#undef GPGRT_GCC_HAVE_PUSH_PRAGMA #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5 ) -# define JNLIB_GCC_M_FUNCTION 1 -# define JNLIB_GCC_A_NR __attribute__ ((noreturn)) +# define GPGRT_GCC_M_FUNCTION 1 /* __FUNCTION__ macro is available. */ +# define GPGRT_GCC_A_NR __attribute__ ((noreturn)) # if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4 ) -# define JNLIB_GCC_HAVE_PUSH_PRAGMA 1 -# define JNLIB_GCC_A_PRINTF( f, a ) \ +# define GPGRT_GCC_HAVE_PUSH_PRAGMA 1 +# define GPGRT_GCC_A_PRINTF( f, a ) \ __attribute__ ((format (__gnu_printf__,f,a))) -# define JNLIB_GCC_A_NR_PRINTF( f, a ) \ +# define GPGRT_GCC_A_NR_PRINTF( f, a ) \ __attribute__ ((noreturn, format (__gnu_printf__,f,a))) # else -# define JNLIB_GCC_A_PRINTF( f, a ) __attribute__ ((format (printf,f,a))) -# define JNLIB_GCC_A_NR_PRINTF( f, a ) \ +# define GPGRT_GCC_A_PRINTF( f, a ) __attribute__ ((format (printf,f,a))) +# define GPGRT_GCC_A_NR_PRINTF( f, a ) \ __attribute__ ((noreturn, format (printf,f,a))) # endif #else -# define JNLIB_GCC_A_NR -# define JNLIB_GCC_A_PRINTF( f, a ) -# define JNLIB_GCC_A_NR_PRINTF( f, a ) +# define GPGRT_GCC_A_NR +# define GPGRT_GCC_A_PRINTF( f, a ) +# define GPGRT_GCC_A_NR_PRINTF( f, a ) #endif |