diff options
author | OBATA Akio <obache@users.noreply.github.com> | 2015-12-27 15:54:20 +0900 |
---|---|---|
committer | OBATA Akio <obache@users.noreply.github.com> | 2015-12-27 15:54:20 +0900 |
commit | b699d5c6a93dba96658803432f2adf30467d1bcf (patch) | |
tree | 63c5401d9dfb54e46168008bacaa078a77d63276 /build/cmake | |
parent | 1f4b3a8bcdcd97cb501169fd5f5b7f5c0da0b5ab (diff) | |
download | libarchive-b699d5c6a93dba96658803432f2adf30467d1bcf.tar.gz |
Ensure to declare UINTMAX_MAX, INTMAX_MAX and INTMAX_MIN
Diffstat (limited to 'build/cmake')
-rw-r--r-- | build/cmake/config.h.in | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/build/cmake/config.h.in b/build/cmake/config.h.in index a42a7c59..31ecf051 100644 --- a/build/cmake/config.h.in +++ b/build/cmake/config.h.in @@ -170,8 +170,6 @@ typedef unsigned char uint8_t; /* Define intmax_t and uintmax_t if they are not already defined. */ #if !defined(HAVE_INTMAX_T) typedef int64_t intmax_t; -#define INTMAX_MIN INT64_MIN -#define INTMAX_MAX INT64_MAX #endif #if !defined(HAVE_UINTMAX_T) @@ -372,6 +370,14 @@ typedef uint64_t uintmax_t; don't. */ #cmakedefine HAVE_DECL_INT64_MIN 1 +/* Define to 1 if you have the declaration of `INTMAX_MAX', and to 0 if you + don't. */ +#cmakedefine HAVE_DECL_INTMAX_MAX 1 + +/* Define to 1 if you have the declaration of `INTMAX_MIN', and to 0 if you + don't. */ +#cmakedefine HAVE_DECL_INTMAX_MIN 1 + /* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you don't. */ #cmakedefine HAVE_DECL_SIZE_MAX 1 @@ -392,6 +398,10 @@ typedef uint64_t uintmax_t; don't. */ #cmakedefine HAVE_DECL_UINT64_MAX 1 +/* Define to 1 if you have the declaration of `UINTMAX_MAX', and to 0 if you + don't. */ +#cmakedefine HAVE_DECL_UINTMAX_MAX 1 + /* Define to 1 if you have the <direct.h> header file. */ #cmakedefine HAVE_DIRECT_H 1 |