diff options
author | jtc <jtc@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2005-09-30 17:53:57 +0000 |
---|---|---|
committer | jtc <jtc@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2005-09-30 17:53:57 +0000 |
commit | ac057523edb744d27f53e641bedef274d96167d5 (patch) | |
tree | b85314bf6ffb4a23a42e13fefb6cb9eda2b4266b | |
parent | a5adfac32587ae9c3d0c458e461e85897420e3e6 (diff) | |
download | ATCD-ac057523edb744d27f53e641bedef274d96167d5.tar.gz |
ChangeLogTag: Fri Sep 30 10:34:24 2005 J.T. Conklin <jtc@acorntoolworks.com>
-rw-r--r-- | ChangeLog | 14 | ||||
-rw-r--r-- | ace/README | 5 | ||||
-rw-r--r-- | configure.ac | 48 |
3 files changed, 65 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 0a58370ec69..c2c8c6c08b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +Fri Sep 30 10:34:24 2005 J.T. Conklin <jtc@acorntoolworks.com> + + * configure.ac: + + Add feature checks for ACE_LACKS_INTMAX_T, ACE_LACKS_INTPTR_T, + ACE_LACKS_UINTMAX_T, and ACE_LACKS_UINTPTR_T. + + * ace/README: + + Define ACE_LACKS_INTMAX_T, ACE_LACKS_UINTMAX_T, and + ACE_LACKS_UINTPTR_T feature test macros. + Fri Sep 30 13:34:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl> * bin/MakeProjectCreator/modules/BorlandWorkspaceCreator.pm: @@ -13,7 +25,7 @@ Fri Sep 30 08:40:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl> * ace/OS_NS_stdio.inl: * ace/OS_NS_unistd.inl: * ace/README: - Added new ACE_LACK_INTPTR_T and use this. This type is used to call + Added new ACE_LACKS_INTPTR_T and use this. This type is used to call _open_osfhandle on windows. It seems not to be available with BCB6 and earlier and msvc6. Thanks to Simon McQueen for notifying me that msvc6 also lacks this. diff --git a/ace/README b/ace/README index f8492369934..ad82e3922bd 100644 --- a/ace/README +++ b/ace/README @@ -720,7 +720,10 @@ ACE_HAS_VERBOSE_NOTSUP Prints out console message in tracking down origin of ACE_NOTSUP. -ACE_LACKS_INTPTR_T Platform lacks intptr_t type +ACE_LACKS_INTMAX_T Platform lacks the intmax_t type +ACE_LACKS_UINTMAX_T Platform lacks the uintmax_t type. +ACE_LACKS_INTPTR_T Platform lacks the intptr_t type +ACE_LACKS_UINTPTR_T Platform lacks the uintptr_t type. ACE_HAS_INT8_T Platform provides the int8_t type. ACE_HAS_INT16_T Platform provides the int16_t type. diff --git a/configure.ac b/configure.ac index ebf386c9533..f9966fa7a1b 100644 --- a/configure.ac +++ b/configure.ac @@ -1806,6 +1806,54 @@ else ace_u_long_long_typedef_set=no fi dnl test "$cross_compiling" != yes +AC_CHECK_TYPE([intmax_t], + [], + [AC_DEFINE([ACE_LACKS_INTMAX_T], 1, + [Define to 1 if the system lacks the type `intmax_t'.])], + [ +#ifndef ACE_LACKS_STDINT_H +#include <stdint.h> +#endif +#ifndef ACE_LACKS_INTTYPES_H +#include <inttypes.h> +#endif]) + +AC_CHECK_TYPE([uintmax_t], + [], + [AC_DEFINE([ACE_LACKS_UINTMAX_T], 1, + [Define to 1 if the system lacks the type `uintmax_t'.])], + [ +#ifndef ACE_LACKS_STDINT_H +#include <stdint.h> +#endif +#ifndef ACE_LACKS_INTTYPES_H +#include <inttypes.h> +#endif]) + +AC_CHECK_TYPE([intptr_t], + [], + [AC_DEFINE([ACE_LACKS_INTPTR_T], 1, + [Define to 1 if the system lacks the type `intptr_t'.])], + [ +#ifndef ACE_LACKS_STDINT_H +#include <stdint.h> +#endif +#ifndef ACE_LACKS_INTTYPES_H +#include <inttypes.h> +#endif]) + +AC_CHECK_TYPE([uintptr_t], + [], + [AC_DEFINE([ACE_LACKS_UINTPTR_T], 1, + [Define to 1 if the system lacks the type `uintptr_t'.])], + [ +#ifndef ACE_LACKS_STDINT_H +#include <stdint.h> +#endif +#ifndef ACE_LACKS_INTTYPES_H +#include <inttypes.h> +#endif]) + AC_CHECK_TYPE([int8_t], [AC_DEFINE([ACE_HAS_INT8_T], 1, [Define to 1 if the system has the type `int8_t'.])], |