diff options
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 9819176b5..c28bda0aa 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -563,7 +563,7 @@ mch_check_messages(void) # if defined(HAVE_SYS_SYSINFO_H) && defined(HAVE_SYSINFO) # include <sys/sysinfo.h> # endif -# ifdef MACOS_X_DARWIN +# ifdef MACOS_X # include <mach/mach_host.h> # include <mach/mach_port.h> # endif @@ -578,7 +578,7 @@ mch_total_mem(int special UNUSED) long_u mem = 0; long_u shiftright = 10; /* how much to shift "mem" right for Kbyte */ -# ifdef MACOS_X_DARWIN +# ifdef MACOS_X { /* Mac (Darwin) way of getting the amount of RAM available */ mach_port_t host = mach_host_self(); |