X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Ffilesystem%2Ffilename.h;h=ffbde48e67c18af09de92f70c19b3594c79922f7;hb=39dbe2cabfc181def8903f6009ed967ad2dc1d9b;hp=06f7c2542970b6e57eb8e6ed505e1f125619b0a4;hpb=e16e899f1a75d8c4df9d36ffac2d8d2d401c4114;p=feisty_meow.git diff --git a/nucleus/library/filesystem/filename.h b/nucleus/library/filesystem/filename.h index 06f7c254..ffbde48e 100644 --- a/nucleus/library/filesystem/filename.h +++ b/nucleus/library/filesystem/filename.h @@ -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.