summaryrefslogtreecommitdiff
path: root/cpp/src/FreezeScript/transformdb.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2013-07-17 17:57:56 +0200
committerJose <jose@zeroc.com>2013-07-17 17:57:56 +0200
commitda37321a0d8b21df897e5af64b8c03194987f061 (patch)
tree101b7a1cc7300cc8162c4a60a867677d97875ef1 /cpp/src/FreezeScript/transformdb.cpp
parentFixed ICE-5375 - Consider to add ICE_TRANSLATOR preprocessor macro (diff)
downloadice-da37321a0d8b21df897e5af64b8c03194987f061.tar.bz2
ice-da37321a0d8b21df897e5af64b8c03194987f061.tar.xz
ice-da37321a0d8b21df897e5af64b8c03194987f061.zip
Simplification for Slice predefined macros
Diffstat (limited to 'cpp/src/FreezeScript/transformdb.cpp')
-rw-r--r--cpp/src/FreezeScript/transformdb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/FreezeScript/transformdb.cpp b/cpp/src/FreezeScript/transformdb.cpp
index c4c3f1fe002..443e918b452 100644
--- a/cpp/src/FreezeScript/transformdb.cpp
+++ b/cpp/src/FreezeScript/transformdb.cpp
@@ -437,7 +437,7 @@ run(const Ice::StringSeq& originalArgs, const Ice::CommunicatorPtr& communicator
Slice::UnitPtr oldUnit = Slice::Unit::createUnit(true, true, ice, underscore);
FreezeScript::Destroyer<Slice::UnitPtr> oldD(oldUnit);
if(!FreezeScript::parseSlice(appName, oldUnit, oldSlice, oldCppArgs, debug,
- "-DICE_COMPILER=ICE_TRANSFORMDB"))
+ "-D__TRANSFORMDB__"))
{
return EXIT_FAILURE;
}
@@ -445,7 +445,7 @@ run(const Ice::StringSeq& originalArgs, const Ice::CommunicatorPtr& communicator
Slice::UnitPtr newUnit = Slice::Unit::createUnit(true, true, ice, underscore);
FreezeScript::Destroyer<Slice::UnitPtr> newD(newUnit);
if(!FreezeScript::parseSlice(appName, newUnit, newSlice, newCppArgs, debug,
- "-DICE_COMPILER=ICE_TRANSFORMDB"))
+ "-D__TRANSFORMDB__"))
{
return EXIT_FAILURE;
}