summaryrefslogtreecommitdiff
path: root/cpp/src/slice2freezej/Main.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2014-05-01 18:28:00 +0200
committerJose <jose@zeroc.com>2014-05-01 18:28:00 +0200
commitce12f1b7545c677f11ec14923d976689f96d0a75 (patch)
treeca2a4fad49b4f2b24f6706a976db8cd8c1c2394c /cpp/src/slice2freezej/Main.cpp
parentAmazon Linux RPM fixes (diff)
downloadice-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/Main.cpp')
-rw-r--r--cpp/src/slice2freezej/Main.cpp4
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;