From 1eb6baa3b28aeb44e43da7b98e07b55ca02e5603 Mon Sep 17 00:00:00 2001 From: Sanjiv Gupta Date: Thu, 27 Aug 2009 11:54:38 +0000 Subject: [PATCH] To make mcc16 run correctly on mac. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80239 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvmc/example/mcc16/plugins/PIC16Base/PluginMain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/llvmc/example/mcc16/plugins/PIC16Base/PluginMain.cpp b/tools/llvmc/example/mcc16/plugins/PIC16Base/PluginMain.cpp index 40837cba8cb..a6d2ff6b1ae 100644 --- a/tools/llvmc/example/mcc16/plugins/PIC16Base/PluginMain.cpp +++ b/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 "\\";