summaryrefslogtreecommitdiff
path: root/src/pal/tools/cppmunge/cppmunge.c
diff options
context:
space:
mode:
authorGeoff Norton <grompf@gmail.com>2015-02-03 21:18:43 -0800
committerGeoff Norton <grompf@gmail.com>2015-02-06 16:24:36 -0800
commit495c00ff2353f1bf49e085c646fdd4b4ec658bba (patch)
tree4c7937a9b002578dcf4835d55dcbc52901f7d184 /src/pal/tools/cppmunge/cppmunge.c
parenta85beebc633d373bf3df4241ce7f86d76d7690ec (diff)
downloadcoreclr-495c00ff2353f1bf49e085c646fdd4b4ec658bba.tar.gz
coreclr-495c00ff2353f1bf49e085c646fdd4b4ec658bba.tar.bz2
coreclr-495c00ff2353f1bf49e085c646fdd4b4ec658bba.zip
Initial Mac OSX Support
Supports building up the VM, PAL and various components on Mac OSX 10.10 There are some oddities with the Apple assembler not generating short jumps and not supporting 1 byte relocs.
Diffstat (limited to 'src/pal/tools/cppmunge/cppmunge.c')
-rw-r--r--src/pal/tools/cppmunge/cppmunge.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pal/tools/cppmunge/cppmunge.c b/src/pal/tools/cppmunge/cppmunge.c
index d661461861..56a9a2cfc0 100644
--- a/src/pal/tools/cppmunge/cppmunge.c
+++ b/src/pal/tools/cppmunge/cppmunge.c
@@ -35,7 +35,9 @@
#include <assert.h>
#include <ctype.h>
+#if !defined(__APPLE__)
#include <linux/limits.h>
+#endif
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>