]> git.saurik.com Git - wxWidgets.git/commitdiff
use _unlink() instead of unlink() with VC
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 6 Jun 2009 23:17:34 +0000 (23:17 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 6 Jun 2009 23:17:34 +0000 (23:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/textfile/textfiletest.cpp

index b85e9444b5e2e486dfcbb28e6fa6e686226a0bb4..25d3f830f4a9cde991841b4347a221173287d568 100644 (file)
 #include "wx/ffile.h"
 #include "wx/textfile.h"
 
+#ifdef __VISUALC__
+    #define unlink _unlink
+#endif
+
 // ----------------------------------------------------------------------------
 // test class
 // ----------------------------------------------------------------------------