X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Fstring.h;h=a3a154d7f4c667ac2359d53a14084e4c99fab4bc;hb=aa980e7f23430161549089ab9661f07d9db116c4;hp=c63bab8dff7ba01b66eae343329542b4f330115c;hpb=4c805021b487dff9bfc6341c998ba99636416ae7;p=pdclib diff --git a/includes/string.h b/includes/string.h index c63bab8..a3a154d 100644 --- a/includes/string.h +++ b/includes/string.h @@ -21,12 +21,10 @@ #include <_PDCLIB_int.h> #endif -#if _PDCLIB_HOSTED == 1 -#warning As of the current release, PDCLib is not a conforming hosted environment. -#warning 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