1 We need to add guards around the 64-bit variants.
3 --- libidn-1.36/gltests/test-stdint.c.orig 2020-04-28 17:02:42.000000000 +0000
4 +++ libidn-1.36/gltests/test-stdint.c 2020-12-27 19:36:09.452134750 +0000
6 verify_width (UINT_LEAST16_WIDTH, 0, UINT_LEAST16_MAX);
7 verify_width (INT_LEAST32_WIDTH, INT_LEAST32_MIN, INT_LEAST32_MAX);
8 verify_width (UINT_LEAST32_WIDTH, 0, UINT_LEAST32_MAX);
9 +#ifdef INT_LEAST64_MAX
10 verify_width (INT_LEAST64_WIDTH, INT_LEAST64_MIN, INT_LEAST64_MAX);
11 verify_width (UINT_LEAST64_WIDTH, 0, UINT_LEAST64_MAX);
13 verify_width (INT_FAST8_WIDTH, INT_FAST8_MIN, INT_FAST8_MAX);
14 verify_width (UINT_FAST8_WIDTH, 0, UINT_FAST8_MAX);
15 verify_width (INT_FAST16_WIDTH, INT_FAST16_MIN, INT_FAST16_MAX);
16 verify_width (UINT_FAST16_WIDTH, 0, UINT_FAST16_MAX);
17 verify_width (INT_FAST32_WIDTH, INT_FAST32_MIN, INT_FAST32_MAX);
18 verify_width (UINT_FAST32_WIDTH, 0, UINT_FAST32_MAX);
19 +#ifdef INT_FAST64_MAX
20 verify_width (INT_FAST64_WIDTH, INT_FAST64_MIN, INT_FAST64_MAX);
21 verify_width (UINT_FAST64_WIDTH, 0, UINT_FAST64_MAX);
23 verify_width (INTPTR_WIDTH, INTPTR_MIN, INTPTR_MAX);
24 verify_width (UINTPTR_WIDTH, 0, UINTPTR_MAX);
25 verify_width (INTMAX_WIDTH, INTMAX_MIN, INTMAX_MAX);
26 --- libidn-1.36/lib/gltests/test-stdint.c.orig 2020-04-28 17:03:22.000000000 +0000
27 +++ libidn-1.36/lib/gltests/test-stdint.c 2020-12-27 19:54:25.946698275 +0000
29 verify_width (UINT_LEAST16_WIDTH, 0, UINT_LEAST16_MAX);
30 verify_width (INT_LEAST32_WIDTH, INT_LEAST32_MIN, INT_LEAST32_MAX);
31 verify_width (UINT_LEAST32_WIDTH, 0, UINT_LEAST32_MAX);
32 +#ifdef INT_LEAST64_MAX
33 verify_width (INT_LEAST64_WIDTH, INT_LEAST64_MIN, INT_LEAST64_MAX);
34 verify_width (UINT_LEAST64_WIDTH, 0, UINT_LEAST64_MAX);
36 verify_width (INT_FAST8_WIDTH, INT_FAST8_MIN, INT_FAST8_MAX);
37 verify_width (UINT_FAST8_WIDTH, 0, UINT_FAST8_MAX);
38 verify_width (INT_FAST16_WIDTH, INT_FAST16_MIN, INT_FAST16_MAX);
39 verify_width (UINT_FAST16_WIDTH, 0, UINT_FAST16_MAX);
40 verify_width (INT_FAST32_WIDTH, INT_FAST32_MIN, INT_FAST32_MAX);
41 verify_width (UINT_FAST32_WIDTH, 0, UINT_FAST32_MAX);
42 +#ifdef INT_FAST64_MAX
43 verify_width (INT_FAST64_WIDTH, INT_FAST64_MIN, INT_FAST64_MAX);
44 verify_width (UINT_FAST64_WIDTH, 0, UINT_FAST64_MAX);
46 verify_width (INTPTR_WIDTH, INTPTR_MIN, INTPTR_MAX);
47 verify_width (UINTPTR_WIDTH, 0, UINTPTR_MAX);
48 verify_width (INTMAX_WIDTH, INTMAX_MIN, INTMAX_MAX);