]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filefn.cpp
changed the notebook control to use AddPage() interface (Julian's version
[wxWidgets.git] / src / common / filefn.cpp
index 0c3cb57f31fbb7fb314bc74f485af3f8fe6c7c61..a85dae4c696530243e2345c6a921e733b30b4435 100644 (file)
 #include <sys/types.h>
 #include <sys/stat.h>
 
+#ifdef __UNIX__
 #include <unistd.h>
 #include <dirent.h>
+#endif
 
 #ifdef __WINDOWS__
 #ifndef __GNUWIN32__
@@ -719,7 +721,7 @@ wxDos2UnixFilename (char *s)
 }
 
 void 
-wxUnix2DosFilename (char *WXUNUSED(s))
+wxUnix2DosFilename (char *s)
 {
 // Yes, I really mean this to happen under DOS only! JACS
 #ifdef __WINDOWS__