]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fixes for Watcom+MGL+MS-DOS
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 5 Dec 2001 17:03:05 +0000 (17:03 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 5 Dec 2001 17:03:05 +0000 (17:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/file.cpp

index 33553f518f433f5564762a0b68a339e764f645d5..17b5627877f1282f8fa80f727e6dfcc9c3ac36c8 100644 (file)
@@ -59,6 +59,9 @@
     #ifdef __GNUWIN32__
         #include <windows.h>
     #endif
+#elif defined(__DOS__) && defined(__WATCOMC__)
+    #include <io.h>
+    char* mktemp(char *path) { return _mktemp(path); }
 #elif (defined(__WXPM__))
     #include <io.h>
     #define   W_OK        2