From: solar Date: Fri, 2 Dec 2005 10:53:03 +0000 (+0000) Subject: Added _PDCLIB_inline mapped to inline for C99 only. X-Git-Tag: v0.4~62 X-Git-Url: https://pd.if.org/git/?p=pdclib;a=commitdiff_plain;h=b6d270371b520e0a85075d8bf84c10c53d9b30bf Added _PDCLIB_inline mapped to inline for C99 only. --- diff --git a/internals/_PDCLIB_aux.h b/internals/_PDCLIB_aux.h index 4ef019e..8c4e897 100644 --- a/internals/_PDCLIB_aux.h +++ b/internals/_PDCLIB_aux.h @@ -21,12 +21,15 @@ #ifndef __STDC_VERSION__ #define _PDCLIB_C_VERSION 90 #define _PDCLIB_restrict +#define _PDCLIB_inline #elif __STDC_VERSION__ == 199409L #define _PDCLIB_C_VERSION 95 #define _PDCLIB_restrict +#define _PDCLIB_inline #elif __STDC_VERSION__ == 199901L #define _PDCLIB_C_VERSION 99 #define _PDCLIB_restrict restrict +#define _PDCLIB_inline inline #else #error Unsupported _ _STDC_VERSION_ _ (__STDC_VERSION__) (supported: ISO/IEC 9899:1990, 9899/AMD1:1995, and 9899:1999). #endif @@ -58,4 +61,3 @@ #define _PDCLIB_symbol2value( x ) #x #define _PDCLIB_symbol2string( x ) _PDCLIB_symbol2value( x ) #define _PDCLIB_symbol2identity( x ) x -