mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-24 21:41:23 +00:00
Use PATH_MAX for MAX_OSPATH on all platforms
The hardcoded 256 doesn't cut it.
This commit is contained in:
parent
a385bbeb29
commit
a97f685132
1 changed files with 4 additions and 2 deletions
|
@ -29,6 +29,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
#ifndef __FILESYSTEM_H__
|
||||
#define __FILESYSTEM_H__
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#include "idlib/containers/StrList.h"
|
||||
#include "framework/File.h"
|
||||
|
||||
|
@ -55,9 +57,9 @@ If you have questions concerning this license or the applicable additional terms
|
|||
===============================================================================
|
||||
*/
|
||||
|
||||
static const ID_TIME_T FILE_NOT_FOUND_TIMESTAMP = 0xFFFFFFFF;
|
||||
static const ID_TIME_T FILE_NOT_FOUND_TIMESTAMP = 0xFFFFFFFF;
|
||||
static const int MAX_PURE_PAKS = 128;
|
||||
static const int MAX_OSPATH = 256;
|
||||
static const int MAX_OSPATH = PATH_MAX;
|
||||
|
||||
// modes for OpenFileByMode. used as bit mask internally
|
||||
typedef enum {
|
||||
|
|
Loading…
Reference in a new issue