Use FILENAME_MAX for MAX_OSPATH

Fixes compilation with fucking MSVC.
This commit is contained in:
dhewg 2012-07-05 17:24:59 +02:00 committed by Daniel Gibson
parent a6834f2f39
commit 2ecfd21427

View file

@ -59,7 +59,7 @@ If you have questions concerning this license or the applicable additional terms
static const ID_TIME_T FILE_NOT_FOUND_TIMESTAMP = 0xFFFFFFFF;
static const int MAX_PURE_PAKS = 128;
static const int MAX_OSPATH = PATH_MAX;
static const int MAX_OSPATH = FILENAME_MAX;
// modes for OpenFileByMode. used as bit mask internally
typedef enum {