updates from orpheus for windoze build
[feisty_meow.git] / nucleus / library / filesystem / filename.h
index 06f7c2542970b6e57eb8e6ed505e1f125619b0a4..ffbde48e67c18af09de92f70c19b3594c79922f7 100644 (file)
@@ -26,6 +26,12 @@ class status_info;
 //hmmm: this doesn't really belong here, does it...
 // define useful constant for filesystem path length.
 #ifndef MAX_ABS_PATH 
+  #ifdef __WIN32__
+    #define MAX_ABS_PATH MAX_PATH
+  #else
+    #define MAX_ABS_PATH PATH_MAX
+  #endif
+/*
   #ifdef __WIN32__
   // winsock support...
 //  #undef FD_SETSIZE
@@ -42,9 +48,9 @@ class status_info;
     #endif
     #define MAX_ABS_PATH PATH_MAX
   #endif
+*/
 #endif
 
-
 namespace filesystem {
 
 //! Provides operations commonly needed on file names.