]> pd.if.org Git - pdclib/blobdiff - includes/string.h
Added size_t to stdlib.h, added redefinition guards, adjusted includes.
[pdclib] / includes / string.h
index c63bab8dff7ba01b66eae343329542b4f330115c..a3a154d7f4c667ac2359d53a14084e4c99fab4bc 100644 (file)
 #include <_PDCLIB_int.h>
 #endif
 
-#if _PDCLIB_HOSTED == 1
-#warning As of the current release, PDCLib is not a conforming hosted environment.
-#warning <string.h> is not standard-compliant (yet) - strerror is missing.
-#endif
-
+#ifndef _PDCLIB_SIZE_T_DEFINED
+#define _PDCLIB_SIZE_T_DEFINED _PDCLIB_SIZE_T_DEFINED
 typedef _PDCLIB_size_t size_t;
+#endif
 
 #define NULL _PDCLIB_NULL