From: Owen Shepherd Date: Sat, 16 Mar 2013 16:40:35 +0000 (+0000) Subject: PDCLIB-2 #ifdef guard surrounding WEOF X-Git-Url: https://pd.if.org/git/?a=commitdiff_plain;ds=inline;h=56b5594ab57dd21cf80821fefe95350aa87b7903;p=pdclib PDCLIB-2 #ifdef guard surrounding WEOF --- diff --git a/includes/wchar.h b/includes/wchar.h index 7335896..83d880b 100644 --- a/includes/wchar.h +++ b/includes/wchar.h @@ -45,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);