mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-18 22:31:36 +00:00
fopen -> fopen_s on windows
This commit is contained in:
parent
812cb5be64
commit
2c020837ea
1 changed files with 4 additions and 0 deletions
4
gmqcc.h
4
gmqcc.h
|
@ -189,6 +189,10 @@ typedef char intptr_size_is_correct [sizeof(uintptr_t)== sizeof(int*)?1:-1];
|
|||
/*===================================================================*/
|
||||
/*=========================== util.c ================================*/
|
||||
/*===================================================================*/
|
||||
#ifdef WIN32
|
||||
# define fopen fopen_s
|
||||
#endif
|
||||
|
||||
void *util_memory_a (unsigned int, unsigned int, const char *);
|
||||
void util_memory_d (void *, unsigned int, const char *);
|
||||
void util_meminfo ();
|
||||
|
|
Loading…
Reference in a new issue