Replace all #ifdef with #if defined (...) for convention
This commit is contained in:
+4
-4
@@ -9,21 +9,21 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#ifdef _POSIX
|
||||
#if defined (_POSIX)
|
||||
#include <pthread.h>
|
||||
#include <sys/sysctl.h>
|
||||
#endif // _POSIX
|
||||
|
||||
#ifdef __APPLE__
|
||||
#if defined (__APPLE__)
|
||||
#include <mach-o/dyld.h>
|
||||
#include <mach/mach.h>
|
||||
#endif // __APPLE__
|
||||
|
||||
#ifdef _WIN
|
||||
#if defined (_WIN)
|
||||
#include <windows.h>
|
||||
#endif // _WIN
|
||||
|
||||
#ifdef __APPLE__
|
||||
#if defined (__APPLE__)
|
||||
typedef struct cpu_set
|
||||
{
|
||||
uint32_t count;
|
||||
|
||||
Reference in New Issue
Block a user