Merge pull request #3593 from kilobyte:master
This commit is contained in:
commit
b2a5e66fc5
@ -56,7 +56,7 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#if defined ANDROID
|
#if defined ANDROID
|
||||||
#include <sys/sysconf.h>
|
#include <sys/sysconf.h>
|
||||||
#else
|
#elif defined __APPLE__
|
||||||
#include <sys/sysctl.h>
|
#include <sys/sysctl.h>
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@ -163,8 +163,6 @@ std::wstring GetTempFileNameWinRT(std::wstring prefix)
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#if defined ANDROID
|
#if defined ANDROID
|
||||||
#include <sys/sysconf.h>
|
#include <sys/sysconf.h>
|
||||||
#else
|
|
||||||
#include <sys/sysctl.h>
|
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -139,8 +139,10 @@ extern "C" {
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
#if defined __APPLE__
|
||||||
#include <sys/sysctl.h>
|
#include <sys/sysctl.h>
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef MIN
|
#ifndef MIN
|
||||||
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
||||||
|
Loading…
Reference in New Issue
Block a user