Update system.cpp
FreeBSD compilation fix
This commit is contained in:
@@ -64,12 +64,14 @@ Mutex* __initialization_mutex_initializer = &getInitializationMutex();
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined ANDROID || defined __linux__
|
||||
#if defined ANDROID || defined __linux__ || defined __FreeBSD__
|
||||
# include <unistd.h>
|
||||
# include <fcntl.h>
|
||||
# include <elf.h>
|
||||
#if defined ANDROID || defined __linux__
|
||||
# include <linux/auxvec.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined WIN32 || defined _WIN32 || defined WINCE
|
||||
#ifndef _WIN32_WINNT // This is needed for the declaration of TryEnterCriticalSection in winbase.h with Visual Studio 2005 (and older?)
|
||||
|
Reference in New Issue
Block a user