From da37321a0d8b21df897e5af64b8c03194987f061 Mon Sep 17 00:00:00 2001 From: Jose Date: Wed, 17 Jul 2013 17:57:56 +0200 Subject: Simplification for Slice predefined macros --- cpp/src/slice2py/Main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpp/src/slice2py/Main.cpp') diff --git a/cpp/src/slice2py/Main.cpp b/cpp/src/slice2py/Main.cpp index 317f0d7c68f..0bb4efe29b6 100644 --- a/cpp/src/slice2py/Main.cpp +++ b/cpp/src/slice2py/Main.cpp @@ -490,7 +490,7 @@ compile(int argc, char* argv[]) if(depend) { PreprocessorPtr icecpp = Preprocessor::create(argv[0], *i, cppArgs); - FILE* cppHandle = icecpp->preprocess(false, "-DICE_COMPILER=ICE_SLICE2PY"); + FILE* cppHandle = icecpp->preprocess(false, "-D__SLICE2PY__"); if(cppHandle == 0) { @@ -507,7 +507,7 @@ compile(int argc, char* argv[]) } if(!icecpp->printMakefileDependencies(Preprocessor::Python, includePaths, - "-DICE_COMPILER=ICE_SLICE2PY", "", prefix)) + "-D__SLICE2PY__", "", prefix)) { return EXIT_FAILURE; } @@ -520,7 +520,7 @@ compile(int argc, char* argv[]) else { PreprocessorPtr icecpp = Preprocessor::create(argv[0], *i, cppArgs); - FILE* cppHandle = icecpp->preprocess(keepComments, "-DICE_COMPILER=ICE_SLICE2PY"); + FILE* cppHandle = icecpp->preprocess(keepComments, "-D__SLICE2PY__"); if(cppHandle == 0) { -- cgit v1.2.3