diff options
Diffstat (limited to 'cpp/src/slice2freezej/Main.cpp')
-rw-r--r-- | cpp/src/slice2freezej/Main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/slice2freezej/Main.cpp b/cpp/src/slice2freezej/Main.cpp index 6a1b045b033..07f2d0eecee 100644 --- a/cpp/src/slice2freezej/Main.cpp +++ b/cpp/src/slice2freezej/Main.cpp @@ -1771,7 +1771,7 @@ compile(int argc, char* argv[]) if(depend || dependxml) { PreprocessorPtr icecpp = Preprocessor::create(argv[0], args[idx], cppArgs); - FILE* cppHandle = icecpp->preprocess(false, "-DICE_COMPILER=ICE_SLICE2FREEZEJ"); + FILE* cppHandle = icecpp->preprocess(false, "-D__SLICE2FREEZEJ__"); if(cppHandle == 0) { @@ -1788,7 +1788,7 @@ compile(int argc, char* argv[]) } if(!icecpp->printMakefileDependencies(depend ? Preprocessor::Java : Preprocessor::JavaXML, includePaths, - "-DICE_COMPILER=ICE_SLICE2FREEZEJ")) + "-D__SLICE2FREEZEJ__")) { u->destroy(); return EXIT_FAILURE; |