diff options
author | Jose <jose@zeroc.com> | 2014-05-01 18:28:00 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2014-05-01 18:28:00 +0200 |
commit | ce12f1b7545c677f11ec14923d976689f96d0a75 (patch) | |
tree | ca2a4fad49b4f2b24f6706a976db8cd8c1c2394c /cpp/src/slice2freezej | |
parent | Amazon Linux RPM fixes (diff) | |
download | ice-ce12f1b7545c677f11ec14923d976689f96d0a75.tar.bz2 ice-ce12f1b7545c677f11ec14923d976689f96d0a75.tar.xz ice-ce12f1b7545c677f11ec14923d976689f96d0a75.zip |
Fixed (ICE-5529) - Fix slice2freeze, slice2freezej and slice2html predefined macros
Diffstat (limited to 'cpp/src/slice2freezej')
-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; |