diff options
author | Jose <jose@zeroc.com> | 2013-07-17 17:57:56 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2013-07-17 17:57:56 +0200 |
commit | da37321a0d8b21df897e5af64b8c03194987f061 (patch) | |
tree | 101b7a1cc7300cc8162c4a60a867677d97875ef1 /cpp/src/slice2php/Main.cpp | |
parent | Fixed ICE-5375 - Consider to add ICE_TRANSLATOR preprocessor macro (diff) | |
download | ice-da37321a0d8b21df897e5af64b8c03194987f061.tar.bz2 ice-da37321a0d8b21df897e5af64b8c03194987f061.tar.xz ice-da37321a0d8b21df897e5af64b8c03194987f061.zip |
Simplification for Slice predefined macros
Diffstat (limited to 'cpp/src/slice2php/Main.cpp')
-rw-r--r-- | cpp/src/slice2php/Main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/slice2php/Main.cpp b/cpp/src/slice2php/Main.cpp index 1be68d99238..40315f4319b 100644 --- a/cpp/src/slice2php/Main.cpp +++ b/cpp/src/slice2php/Main.cpp @@ -1670,7 +1670,7 @@ compile(int argc, char* argv[]) if(depend) { PreprocessorPtr icecpp = Preprocessor::create(argv[0], *i, cppArgs); - FILE* cppHandle = icecpp->preprocess(false, "-DICE_COMPILER=ICE_SLICE2PHP"); + FILE* cppHandle = icecpp->preprocess(false, "-D__SLICE2PHP__"); if(cppHandle == 0) { @@ -1686,7 +1686,7 @@ compile(int argc, char* argv[]) return EXIT_FAILURE; } - if(!icecpp->printMakefileDependencies(Preprocessor::PHP, includePaths, "-DICE_COMPILER=ICE_SLICE2PHP")) + if(!icecpp->printMakefileDependencies(Preprocessor::PHP, includePaths, "-D__SLICE2PHP__")) { return EXIT_FAILURE; } @@ -1699,7 +1699,7 @@ compile(int argc, char* argv[]) else { PreprocessorPtr icecpp = Preprocessor::create(argv[0], *i, cppArgs); - FILE* cppHandle = icecpp->preprocess(false, "-DICE_COMPILER=ICE_SLICE2PHP"); + FILE* cppHandle = icecpp->preprocess(false, "-D__SLICE2PHP__"); if(cppHandle == 0) { |