From fb87cc511bc90bb3ba0a07846ae77a72075a9900 Mon Sep 17 00:00:00 2001 From: Michi Henning Date: Fri, 5 Jul 2002 05:51:09 +0000 Subject: 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... --- cpp/src/Slice/CPlusPlusUtil.cpp | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'cpp/src/Slice/CPlusPlusUtil.cpp') 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 @@ -87,26 +87,6 @@ Slice::printVersionCheck(Output& out) out << "\n#endif"; } -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) { -- cgit v1.2.3