diff options
author | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2009-08-27 11:54:38 +0000 |
---|---|---|
committer | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2009-08-27 11:54:38 +0000 |
commit | 99c20d145915cb6da76b8e08cf32ef8121f355b8 (patch) | |
tree | 48b4a58b0637b34238e1a66879018155efff1bc7 /llvm/tools | |
parent | 16ba5f1cfbe368c74bf0f764418e3360d1debe99 (diff) | |
download | bcm5719-llvm-99c20d145915cb6da76b8e08cf32ef8121f355b8.tar.gz bcm5719-llvm-99c20d145915cb6da76b8e08cf32ef8121f355b8.zip |
To make mcc16 run correctly on mac.
llvm-svn: 80239
Diffstat (limited to 'llvm/tools')
-rw-r--r-- | llvm/tools/llvmc/example/mcc16/plugins/PIC16Base/PluginMain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvmc/example/mcc16/plugins/PIC16Base/PluginMain.cpp b/llvm/tools/llvmc/example/mcc16/plugins/PIC16Base/PluginMain.cpp index 40837cba8cb..a6d2ff6b1ae 100644 --- a/llvm/tools/llvmc/example/mcc16/plugins/PIC16Base/PluginMain.cpp +++ b/llvm/tools/llvmc/example/mcc16/plugins/PIC16Base/PluginMain.cpp @@ -13,7 +13,7 @@ namespace llvmc { // FIXME: This currently work on linux and windows only. It does not // work on other unices. static std::string GetDirSeparator() { -#ifdef __linux__ +#if __linux__ || __APPLE__ return "/"; #else return "\\"; |