X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=blobdiff_plain;f=includes%2Fwchar.h;h=83d880b16a9c1091b5dc1c06e3bd127357365eff;hp=0eee7a64285c5a4b248ddda6e443a9bdbf492931;hb=86b4f854d7a3112646838ebf061be2b8b2674685;hpb=0e35e82c5e9a0804864839e8fc0e985b1ae41f07 diff --git a/includes/wchar.h b/includes/wchar.h index 0eee7a6..83d880b 100644 --- a/includes/wchar.h +++ b/includes/wchar.h @@ -9,9 +9,6 @@ #define _PDCLIB_WCHAR_H #include <_PDCLIB_int.h> _PDCLIB_BEGIN_EXTERN_C -/* This is VASTLY incomplete. Functions being implemented as required by other - portions of the library - */ #ifndef _PDCLIB_SIZE_T_DEFINED #define _PDCLIB_SIZE_T_DEFINED _PDCLIB_SIZE_T_DEFINED @@ -48,7 +45,9 @@ struct tm; #define WCHAR_MAX _PDCLIB_WCHAR_MAX #endif +#ifndef _WEOF #define WEOF ((wint_t) -1) +#endif /* Wide character string handling */ wchar_t *wcscpy(wchar_t *_PDCLIB_restrict s1, const wchar_t *_PDCLIB_restrict s2);