]> pd.if.org Git - pdclib/commitdiff
PDCLIB-2 #ifdef guard surrounding WEOF
authorOwen Shepherd <owen.shepherd@e43.eu>
Sat, 16 Mar 2013 16:40:35 +0000 (16:40 +0000)
committerOwen Shepherd <owen.shepherd@e43.eu>
Sat, 16 Mar 2013 16:40:35 +0000 (16:40 +0000)
includes/wchar.h

index 73358965bf6df2cafa2b356b1139894995e49c2f..83d880b16a9c1091b5dc1c06e3bd127357365eff 100644 (file)
@@ -45,7 +45,9 @@ struct tm;
 #define WCHAR_MAX _PDCLIB_WCHAR_MAX\r
 #endif\r
 \r
+#ifndef _WEOF\r
 #define WEOF ((wint_t) -1)\r
+#endif\r
 \r
 /* Wide character string handling */\r
 wchar_t *wcscpy(wchar_t *_PDCLIB_restrict s1, const wchar_t *_PDCLIB_restrict s2);\r