From 99c20d145915cb6da76b8e08cf32ef8121f355b8 Mon Sep 17 00:00:00 2001 From: Sanjiv Gupta Date: Thu, 27 Aug 2009 11:54:38 +0000 Subject: To make mcc16 run correctly on mac. llvm-svn: 80239 --- llvm/tools/llvmc/example/mcc16/plugins/PIC16Base/PluginMain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/tools/llvmc/example/mcc16/plugins/PIC16Base/PluginMain.cpp') 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 "\\"; -- cgit v1.2.3