X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=_PDCLIB_aux.h;h=4ef019e9c386b89d30dd672fdf4aee551cc83303;hp=86712eefd4ef1550ce8958277aaa925836c242a1;hb=c2f1367984ba4153d892062759c3813020b65a9a;hpb=3220f577b186e04180acd7554a785c60dfb7ebb2 diff --git a/_PDCLIB_aux.h b/_PDCLIB_aux.h index 86712ee..4ef019e 100755 --- a/_PDCLIB_aux.h +++ b/_PDCLIB_aux.h @@ -20,16 +20,19 @@ #ifndef __STDC_VERSION__ #define _PDCLIB_C_VERSION 90 +#define _PDCLIB_restrict #elif __STDC_VERSION__ == 199409L #define _PDCLIB_C_VERSION 95 +#define _PDCLIB_restrict #elif __STDC_VERSION__ == 199901L #define _PDCLIB_C_VERSION 99 +#define _PDCLIB_restrict restrict #else #error Unsupported _ _STDC_VERSION_ _ (__STDC_VERSION__) (supported: ISO/IEC 9899:1990, 9899/AMD1:1995, and 9899:1999). #endif #ifndef __STDC_HOSTED__ -#error Compiler does not define _ _STDC_HOSTED_ _ (not standard-compliant)! +#warning Compiler does not define _ _STDC_HOSTED_ _ (not standard-compliant)! #elif __STDC_HOSTED__ == 0 #define _PDCLIB_HOSTED 0 #elif __STDC_HOSTED__ == 1 @@ -43,11 +46,6 @@ #warning PDCLib might not be fully conforming to either C89 or C95 prior to v2.x. #endif -#if _PDCLIB_HOSTED != 0 -#warning Up to the 1.x release, PDCLib is only complete as a freestanding environment. -#warning PDCLib might not be fully conforming as a hosted environment. -#endif - /* -------------------------------------------------------------------------- */ /* Helper macros: */ /* _PDCLIB_cc( x, y ) concatenates two preprocessor tokens without extending */