summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2016-05-04 22:13:44 -0400
committerBernard Normier <bernard@zeroc.com>2016-05-04 22:13:44 -0400
commite24cc0407fcec861792cf93891d6f1c5918e072e (patch)
treefa7394bf07b134168ad43da684306d14626f8b84 /cpp
parentSmall cosmetic fix (diff)
downloadice-e24cc0407fcec861792cf93891d6f1c5918e072e.tar.bz2
ice-e24cc0407fcec861792cf93891d6f1c5918e072e.tar.xz
ice-e24cc0407fcec861792cf93891d6f1c5918e072e.zip
Travis fi
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/IceUtil/Exception.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/src/IceUtil/Exception.cpp b/cpp/src/IceUtil/Exception.cpp
index be4ca40c660..bbd52342c64 100644
--- a/cpp/src/IceUtil/Exception.cpp
+++ b/cpp/src/IceUtil/Exception.cpp
@@ -20,6 +20,13 @@
# endif
#endif
+//
+// For UINTPTR_MAX on Ubuntu Precise
+//
+#ifndef __STDC_CONSTANT_MACROS
+# define __STDC_CONSTANT_MACROS
+#endif
+
#include <IceUtil/Exception.h>
#include <IceUtil/MutexPtrLock.h>
#include <IceUtil/Mutex.h>