diff options
Diffstat (limited to 'cpp/src/IceUtil/Exception.cpp')
-rw-r--r-- | cpp/src/IceUtil/Exception.cpp | 7 |
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> |