X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=blobdiff_plain;f=nucleus%2Flibrary%2Ffilesystem%2Ffilename.h;fp=nucleus%2Flibrary%2Ffilesystem%2Ffilename.h;h=c4820ed75c66b3b77298519569f4584f04da6598;hp=06f7c2542970b6e57eb8e6ed505e1f125619b0a4;hb=de0da7f2f7958d4ba652ff2ef5c79991700141ac;hpb=a4c99c6006b3aa20b5f65f02c2d30db7e790083a diff --git a/nucleus/library/filesystem/filename.h b/nucleus/library/filesystem/filename.h index 06f7c254..c4820ed7 100644 --- a/nucleus/library/filesystem/filename.h +++ b/nucleus/library/filesystem/filename.h @@ -26,6 +26,17 @@ 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 + #ifdef __APPLE__ + #include + #else + #include + #endif + #define MAX_ABS_PATH PATH_MAX + #endif +/* #ifdef __WIN32__ // winsock support... // #undef FD_SETSIZE @@ -42,9 +53,9 @@ class status_info; #endif #define MAX_ABS_PATH PATH_MAX #endif +*/ #endif - namespace filesystem { //! Provides operations commonly needed on file names.