]> Creatis software - creaContours.git/commitdiff
#include <direct.h> vs #include <dirent.h>
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Wed, 15 Apr 2009 10:27:18 +0000 (10:27 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Wed, 15 Apr 2009 10:27:18 +0000 (10:27 +0000)
appli/wxContourGUIExample/wxContourGUIExample.cxx

index 201dcbb51b1ca961cfe88f913ad80ef0943a9015..307361e8c2b596df4e5d0308f6c632e8d5687421 100644 (file)
 
 #ifndef PATH_MAX // If not defined yet : do it 
 #  define PATH_MAX 2048
-#endif 
+#endif
+
+#if defined(WIN32)
+  #include <direct.h>
+#else
+   #include <dirent.h>  
+#endif
 
-#include <direct.h>
 #include <stdlib.h>
 
 
@@ -57,8 +62,6 @@ wxContourMainFrame* wxTheApplication::frame = 0;
 //----------------------------------------------------------------------------------------------------------------
 
 
-
-
 /*
 //EED
 // http://lists.wxwidgets.org/archive/wx-dev/msg30449.html
@@ -93,9 +96,6 @@ wxString GetExecutablePath()
 }
 */
 
-
-
-
 //=========================================================================  
 // From http://www.fltk.org/newsgroups.php?gfltk.general+v:22083
 //