Author: sebor
Date: Thu Jan 5 18:53:18 2006
New Revision: 366396
URL: http://svn.apache.org/viewcvs?rev=366396&view=rev
Log:
2006-01-05 Martin Sebor <[EMAIL PROTECTED]>
* wctype.cpp (wchar.h): Included for wctomb().
Modified:
incubator/stdcxx/trunk/src/wctype.cpp
Modified: incubator/stdcxx/trunk/src/wctype.cpp
URL:
http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/src/wctype.cpp?rev=366396&r1=366395&r2=366396&view=diff
==============================================================================
--- incubator/stdcxx/trunk/src/wctype.cpp (original)
+++ incubator/stdcxx/trunk/src/wctype.cpp Thu Jan 5 18:53:18 2006
@@ -2,7 +2,7 @@
*
* wctype.cpp - source for the C++ Standard Library ctype<wchar_t> facets
*
- * $Id: //stdlib/dev/source/stdlib/wctype.cpp#16 $
+ * $Id$
*
***************************************************************************
*
@@ -29,8 +29,13 @@
#include <ctype.h>
#include <limits.h>
#include <locale.h>
-#include <wctype.h>
-#include <string.h> // memset()
+
+#ifndef _RWSTD_NO_WCHAR_H
+# include <wchar.h> // for wctob()
+#endif // _RWSTD_NO_WCHAR_H
+
+#include <wctype.h> // for iswspace(), ...
+#include <string.h> // for memset()
#include <loc/_ctype.h>
#include <loc/_locale.h>