]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/utilsexc.cpp
Renamed .nt makefiles to .vc and factored them out; made DND sample compile
[wxWidgets.git] / src / msw / utilsexc.cpp
index 4cf07e8861e699a590c2a95a2968732af6eb3712..e74411c2294eedf414227f55551f265a4441dfa0 100644 (file)
 #endif
 
 #ifdef __GNUWIN32__
+#ifndef __TWIN32__
 #include <sys/unistd.h>
 #include <sys/stat.h>
 #endif
+#endif
 
 #ifdef __WIN32__
 #include <io.h>
@@ -111,7 +113,7 @@ long wxExecute(const wxString& command, bool sync, wxProcess *handler)
   if (command == "")
     return 0;
 
-#ifdef __WIN32__
+#if defined(__WIN32__) && !defined(__TWIN32__)
   char * cl;
   char * argp;
   int clen;