]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for windows compilers: _wrename is declared in io.h
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 3 Jul 2007 21:11:46 +0000 (21:11 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 3 Jul 2007 21:11:46 +0000 (21:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/wxcrtbase.h

index 07828befe9c5d409002523c083cf4c36dcfbb0b1..6cc5b4b60dc244e7cd84ce042128d8eb85eab82c 100644 (file)
@@ -34,6 +34,9 @@
 #include <wctype.h>
 #include <time.h>
 
+#ifdef __WINDOWS__
+#include <io.h>
+#endif
 
 #if defined(HAVE_STRTOK_R) && defined(__DARWIN__) && defined(_MSL_USING_MW_C_HEADERS) && _MSL_USING_MW_C_HEADERS
     char *strtok_r(char *, const char *, char **);