summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2020-04-02 11:32:38 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2020-04-26 20:05:17 +0200
commitfc48dfcd2c41720eecd202f7fbaf4a73657a7819 (patch)
treeaef7c4fa47dcc2c90b02389832a2d39b00929148
parentaedcae37cbfc2b245372f19c434c576d2024dfbe (diff)
downloadATCD-fc48dfcd2c41720eecd202f7fbaf4a73657a7819.tar.gz
When we have C++11 support make use of the C++ (u)intxx_t types
* ACE/ace/Basic_Types.h:
-rw-r--r--ACE/ace/Basic_Types.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/ACE/ace/Basic_Types.h b/ACE/ace/Basic_Types.h
index fadc2a85fc3..8db66775037 100644
--- a/ACE/ace/Basic_Types.h
+++ b/ACE/ace/Basic_Types.h
@@ -29,8 +29,8 @@
* - ACE_UINT16
* - ACE_INT32
* - ACE_UINT32
- * - ACE_UINT64
* - ACE_INT64
+ * - ACE_UINT64
*
* Byte-order (endian-ness) determination:
* ACE_BYTE_ORDER, to either ACE_BIG_ENDIAN or ACE_LITTLE_ENDIAN
@@ -70,6 +70,18 @@
# include <inttypes.h>
# endif
+# if defined (ACE_HAS_CPP11)
+# include <cstdint>
+# define ACE_HAS_INT8_T
+# define ACE_HAS_UINT8_T
+# define ACE_HAS_INT16_T
+# define ACE_HAS_UINT16_T
+# define ACE_HAS_INT32_T
+# define ACE_HAS_UINT32_T
+# define ACE_HAS_INT64_T
+# define ACE_HAS_UINT64_T
+# endif
+
#ifdef ACE_LACKS_INTPTR_T
# include "ace/If_Then_Else.h"