summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/tools/llvmc/example/mcc16/plugins/PIC16Base/PluginMain.cpp2
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 "\\";
OpenPOWER on IntegriCloud