diff options
author | Michi Henning <michi@zeroc.com> | 2002-07-05 05:51:09 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2002-07-05 05:51:09 +0000 |
commit | fb87cc511bc90bb3ba0a07846ae77a72075a9900 (patch) | |
tree | 0d81a0723444710f564da26c55870993d61b23d4 /cpp/src/Slice/CPlusPlusUtil.cpp | |
parent | Added enumerator for ConstDef::contained() (ContainedTypeConstant) to (diff) | |
download | ice-fb87cc511bc90bb3ba0a07846ae77a72075a9900.tar.bz2 ice-fb87cc511bc90bb3ba0a07846ae77a72075a9900.tar.xz ice-fb87cc511bc90bb3ba0a07846ae77a72075a9900.zip |
Move the ICE_INT64_LITERAL macro into its own header file (Ice/Const.h).
That was cleaner than polluting the generated files with the macro
definition over and over...
Diffstat (limited to 'cpp/src/Slice/CPlusPlusUtil.cpp')
-rw-r--r-- | cpp/src/Slice/CPlusPlusUtil.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/cpp/src/Slice/CPlusPlusUtil.cpp b/cpp/src/Slice/CPlusPlusUtil.cpp index 79725c6f4b4..0c800c87ac4 100644 --- a/cpp/src/Slice/CPlusPlusUtil.cpp +++ b/cpp/src/Slice/CPlusPlusUtil.cpp @@ -88,26 +88,6 @@ Slice::printVersionCheck(Output& out) } void -Slice::printDefInt64Macro(Output& out) -{ - out << "\n"; - out << "\n#if defined(_WIN32)"; - out << "\n# define INT64LITERAL(n) n##i64"; - out << "\n#elif defined(__linux__) && defined(i386)"; - out << "\n# define INT64LITERAL(n) n##LL"; - out << "\n#else"; - out << "\n# error \"Unsupported operating system or platform!\""; - out << "\n#endif"; -} - -void -Slice::printUndefInt64Macro(Output& out) -{ - out << "\n"; - out << "\n#undef INT64LITERAL"; -} - -void Slice::printDllExportStuff(Output& out, const string& dllExport) { if(dllExport.size()) |