X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=m4%2Fax_create_stdint_h.m4;h=7b8216599e7a5239e50ce007f02ed46884bd4016;hb=c60246732b655e5e345533d3ca39a20f954866fc;hp=0c974b90f9332443f9fac85ec31ce4fddf09c277;hpb=f719cf8faf20897df40be9e54aa88d1433c92e0e;p=platform%2Fupstream%2Fisl.git diff --git a/m4/ax_create_stdint_h.m4 b/m4/ax_create_stdint_h.m4 index 0c974b9..7b82165 100644 --- a/m4/ax_create_stdint_h.m4 +++ b/m4/ax_create_stdint_h.m4 @@ -663,18 +663,28 @@ typedef long intptr_t; # define INT8_MIN (-128) # define INT16_MIN (-32767-1) # define INT32_MIN (-2147483647-1) +#ifndef INT64_MIN # define INT64_MIN (-__INT64_C(9223372036854775807)-1) +#endif /* Maximum of signed integral types. */ # define INT8_MAX (127) # define INT16_MAX (32767) # define INT32_MAX (2147483647) +#ifndef INT64_MAX # define INT64_MAX (__INT64_C(9223372036854775807)) +#endif /* Maximum of unsigned integral types. */ +#ifndef UINT8_MAX # define UINT8_MAX (255) +#endif +#ifndef UINT16_MAX # define UINT16_MAX (65535) +#endif # define UINT32_MAX (4294967295U) +#ifndef UINT64_MAX # define UINT64_MAX (__UINT64_C(18446744073709551615)) +#endif /* Minimum of signed integral types having a minimum size. */ # define INT_LEAST8_MIN INT8_MIN