X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Fstring.h;h=2aa7aaedb41206750ca1beac9a1c252b1e9c3fe5;hb=393020b6e48719d27699dea6b29e53025bbd5123;hp=c63bab8dff7ba01b66eae343329542b4f330115c;hpb=4c805021b487dff9bfc6341c998ba99636416ae7;p=pdclib diff --git a/includes/string.h b/includes/string.h index c63bab8..2aa7aae 100644 --- a/includes/string.h +++ b/includes/string.h @@ -1,7 +1,5 @@ /* $Id$ */ -/* Release $Name$ */ - /* String handling This file is part of the Public Domain C Library (PDCLib). @@ -11,24 +9,20 @@ #ifndef _PDCLIB_STRING_H #define _PDCLIB_STRING_H _PDCLIB_STRING_H -#ifndef _PDCLIB_AUX_H -#define _PDCLIB_AUX_H _PDCLIB_AUX_H -#include <_PDCLIB_aux.h> -#endif - #ifndef _PDCLIB_INT_H #define _PDCLIB_INT_H _PDCLIB_INT_H #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 +#ifndef _PDCLIB_NULL_DEFINED +#define _PDCLIB_NULL_DEFINED _PDCLIB_NULL_DEFINED #define NULL _PDCLIB_NULL +#endif /* String function conventions */