]> pd.if.org Git - pdclib/blobdiff - _PDCLIB_aux.h
Added some of <string.h>.
[pdclib] / _PDCLIB_aux.h
index 86712eefd4ef1550ce8958277aaa925836c242a1..4ef019e9c386b89d30dd672fdf4aee551cc83303 100755 (executable)
 
 #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
 #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  */