summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2cpp/Main.cpp')
-rw-r--r--cpp/src/slice2cpp/Main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/slice2cpp/Main.cpp b/cpp/src/slice2cpp/Main.cpp
index eb31d0414db..4256fd71d6d 100644
--- a/cpp/src/slice2cpp/Main.cpp
+++ b/cpp/src/slice2cpp/Main.cpp
@@ -204,7 +204,7 @@ compile(int argc, char* argv[])
if(depend)
{
PreprocessorPtr icecpp = Preprocessor::create(argv[0], *i, cppArgs);
- FILE* cppHandle = icecpp->preprocess(false, "-DICE_COMPILER=ICE_SLICE2CPP");
+ FILE* cppHandle = icecpp->preprocess(false, "-D__SLICE2CPP__");
if(cppHandle == 0)
{
@@ -221,7 +221,7 @@ compile(int argc, char* argv[])
}
if(!icecpp->printMakefileDependencies(Preprocessor::CPlusPlus, includePaths,
- "-DICE_COMPILER=ICE_SLICE2CPP", sourceExtension, headerExtension))
+ "-D__SLICE2CPP__", sourceExtension, headerExtension))
{
return EXIT_FAILURE;
}
@@ -234,7 +234,7 @@ compile(int argc, char* argv[])
else
{
PreprocessorPtr icecpp = Preprocessor::create(argv[0], *i, cppArgs);
- FILE* cppHandle = icecpp->preprocess(false, "-DICE_COMPILER=ICE_SLICE2CPP");
+ FILE* cppHandle = icecpp->preprocess(false, "-D__SLICE2CPP__");
if(cppHandle == 0)
{