fopen -> fopen_s on windows

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-08-16 13:45:45 +02:00
parent 812cb5be64
commit 2c020837ea

View file

@ -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 ();