diff options
author | Jose <jose@zeroc.com> | 2013-07-17 00:09:35 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2013-07-17 00:09:35 +0200 |
commit | 3288f5190bafcf1d9a71bbef7cd0b7d287fb7b86 (patch) | |
tree | 26fa5dbd2ff580933dc28b90af40ba9e3ca6fe7b /rb/src/IceRuby/Slice.cpp | |
parent | Fixed ICE-5356 - Consider adding man pages for unix executables (diff) | |
download | ice-3288f5190bafcf1d9a71bbef7cd0b7d287fb7b86.tar.bz2 ice-3288f5190bafcf1d9a71bbef7cd0b7d287fb7b86.tar.xz ice-3288f5190bafcf1d9a71bbef7cd0b7d287fb7b86.zip |
Fixed ICE-5375 - Consider to add ICE_TRANSLATOR preprocessor macro
Diffstat (limited to 'rb/src/IceRuby/Slice.cpp')
-rw-r--r-- | rb/src/IceRuby/Slice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rb/src/IceRuby/Slice.cpp b/rb/src/IceRuby/Slice.cpp index 7c98670c489..f586b990703 100644 --- a/rb/src/IceRuby/Slice.cpp +++ b/rb/src/IceRuby/Slice.cpp @@ -122,7 +122,7 @@ IceRuby_loadSlice(int argc, VALUE* argv, VALUE self) { string file = *p; Slice::PreprocessorPtr icecpp = Slice::Preprocessor::create("icecpp", file, cppArgs); - FILE* cppHandle = icecpp->preprocess(false); + FILE* cppHandle = icecpp->preprocess(false, "-DICE_COMPILER=ICE_SLICE2RB"); if(cppHandle == 0) { |