diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-03-01 20:50:58 +0100 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-03-01 20:50:58 +0100 |
commit | f20b7de7a7f54b5567c195f01af06a43923988c8 (patch) | |
tree | 50878d89bb940d9487652988db7216d8c6289fed /config.h.in | |
parent | 63907817cb057f497f03a28016d408885cbe41ea (diff) | |
download | mad-f20b7de7a7f54b5567c195f01af06a43923988c8.tar mad-f20b7de7a7f54b5567c195f01af06a43923988c8.zip |
Gnulib fuer Base64 hinzugefuegt
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 45 |
1 files changed, 42 insertions, 3 deletions
diff --git a/config.h.in b/config.h.in index 629d282..4248cbd 100644 --- a/config.h.in +++ b/config.h.in @@ -261,17 +261,17 @@ #undef VERSION /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>, - <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the + <pthread.h>, or <semaphore.h> is not used. If the typedef was allowed, the #define below would cause a syntax error. */ #undef _UINT32_T /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>, - <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the + <pthread.h>, or <semaphore.h> is not used. If the typedef was allowed, the #define below would cause a syntax error. */ #undef _UINT64_T /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>, - <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the + <pthread.h>, or <semaphore.h> is not used. If the typedef was allowed, the #define below would cause a syntax error. */ #undef _UINT8_T @@ -284,6 +284,22 @@ /* Define to a type to use for `error_t' if it is not otherwise available. */ #undef error_t +/* Define to `__inline__' or `__inline' if that's what the C compiler + calls it, or to nothing if 'inline' is not supported under any name. */ +#ifndef __cplusplus +#undef inline +#endif + +/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports + the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of + earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. + __APPLE__ && __MACH__ test for MacOS X. + __APPLE_CC__ tests for the Apple compiler and its version. + __STDC_VERSION__ tests for the C99 mode. */ +#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ +# define __GNUC_STDC_INLINE__ 1 +#endif + /* Define to rpl_malloc if the replacement function should be used. */ #undef malloc @@ -293,6 +309,19 @@ /* Define to rpl_realloc if the replacement function should be used. */ #undef realloc +/* Define to the equivalent of the C99 'restrict' keyword, or to + nothing if this is not supported. Do not define if restrict is + supported directly. */ +#undef restrict +/* Work around a bug in Sun C++: it does not support _Restrict, even + though the corresponding Sun C compiler does, which causes + "#define restrict _Restrict" in the previous line. Perhaps some future + version of Sun C++ will work with _Restrict; if so, it'll probably + define __RESTRICT, just as Sun C does. */ +#if defined __SUNPRO_CC && !defined __RESTRICT +# define _Restrict +#endif + /* Define to `unsigned int' if <sys/types.h> does not define. */ #undef size_t @@ -314,3 +343,13 @@ /* Define to the type of an unsigned integer type of width exactly 8 bits if such a type exists and the standard includes do not define it. */ #undef uint8_t + +/* Define as a marker that can be attached to function parameter declarations + for parameters that are not used. This helps to reduce warnings, such as + from GCC -Wunused-parameter. */ +#if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) +# define _UNUSED_PARAMETER_ __attribute__ ((__unused__)) +#else +# define _UNUSED_PARAMETER_ +#endif + |