Mercurial > projects > ldc
comparison dmd/attrib.c @ 535:f79bbd1d0b27
Add __APPLE__ to most #if linux compile time switches.
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Sun, 24 Aug 2008 16:54:06 +0200 |
parents | cecfee2d01a8 |
children | cbd6c8073a32 |
comparison
equal
deleted
inserted
replaced
534:7e2867ed70d9 | 535:f79bbd1d0b27 |
---|---|
12 #include <stdlib.h> | 12 #include <stdlib.h> |
13 #include <assert.h> | 13 #include <assert.h> |
14 | 14 |
15 #if _WIN32 || IN_GCC || IN_LLVM | 15 #if _WIN32 || IN_GCC || IN_LLVM |
16 #include "mem.h" | 16 #include "mem.h" |
17 #elif linux | 17 #elif linux || __APPLE__ |
18 #include "../root/mem.h" | 18 #include "../root/mem.h" |
19 #endif | 19 #endif |
20 | 20 |
21 #include "init.h" | 21 #include "init.h" |
22 #include "declaration.h" | 22 #include "declaration.h" |