diff options
author | Marc Laukien <marc@zeroc.com> | 2001-07-06 21:26:07 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-07-06 21:26:07 +0000 |
commit | 59d0e1b80050b0947856cd4a409ca0c5667f8bf7 (patch) | |
tree | b398783d67ad8418f7fe3c170b4ee5aebe35a55b /cpp/src/slice2cpp/Gen.cpp | |
parent | enums (diff) | |
download | ice-59d0e1b80050b0947856cd4a409ca0c5667f8bf7.tar.bz2 ice-59d0e1b80050b0947856cd4a409ca0c5667f8bf7.tar.xz ice-59d0e1b80050b0947856cd4a409ca0c5667f8bf7.zip |
win fixes
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 80411a97c25..3c53d2a5509 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -10,8 +10,19 @@ #include <Ice/Functional.h> #include <Gen.h> -#include <GenUtil.h> - +#include <GenUtil.h>
+#include <limits> +
+//
+// Stupid Visual C++ defines min and max as macros :-(
+//
+#ifdef min
+# undef min
+#endif
+#ifdef max
+# undef max
+#endif +
using namespace std; using namespace Slice; |