1 --- third_party/nasm/config/config-linux.h.orig 2022-02-07 13:39:41 UTC 2 +++ third_party/nasm/config/config-linux.h 3 @@ -139,7 +139,7 @@ 4 #define HAVE_ACCESS 1 5 6 /* Define to 1 if you have the `canonicalize_file_name' function. */ 7 -#define HAVE_CANONICALIZE_FILE_NAME 1 8 +/* #undef HAVE_CANONICALIZE_FILE_NAME */ 9 10 /* Define to 1 if you have the `cpu_to_le16' intrinsic function. */ 11 /* #undef HAVE_CPU_TO_LE16 */ 12 @@ -160,7 +160,7 @@ 13 14 /* Define to 1 if you have the declaration of `strlcpy', and to 0 if you 15 don't. */ 16 -#define HAVE_DECL_STRLCPY 0 17 +#define HAVE_DECL_STRLCPY 1 18 19 /* Define to 1 if you have the declaration of `strncasecmp', and to 0 if you 20 don't. */ 21 @@ -183,7 +183,7 @@ 22 #define HAVE_DECL_STRSEP 1 23 24 /* Define to 1 if you have the <endian.h> header file. */ 25 -#define HAVE_ENDIAN_H 1 26 +/* #undef HAVE_ENDIAN_H */ 27 28 /* Define to 1 if you have the `faccessat' function. */ 29 #define HAVE_FACCESSAT 1 30 @@ -327,16 +327,16 @@ 31 #define HAVE_ISASCII 1 32 33 /* Define to 1 if you have the `iscntrl' function. */ 34 -/* #undef HAVE_ISCNTRL */ 35 +#define HAVE_ISCNTRL 1 36 37 /* Define to 1 if you have the <machine/endian.h> header file. */ 38 -/* #undef HAVE_MACHINE_ENDIAN_H */ 39 +#define HAVE_MACHINE_ENDIAN_H 1 40 41 /* Define to 1 if you have the <memory.h> header file. */ 42 #define HAVE_MEMORY_H 1 43 44 /* Define to 1 if you have the `mempcpy' function. */ 45 -#define HAVE_MEMPCPY 1 46 +/* #undef HAVE_MEMPCPY */ 47 48 /* Define to 1 if you have a working `mmap' system call. */ 49 #define HAVE_MMAP 1 50 @@ -357,7 +357,7 @@ 51 #define HAVE_STDARG_H 1 52 53 /* Define to 1 if stdbool.h conforms to C99. */ 54 -/* #undef HAVE_STDBOOL_H */ 55 +#define HAVE_STDBOOL_H 1 56 57 /* Define to 1 if your compiler supports C99 extern inline */ 58 #define HAVE_STDC_INLINE 1 59 @@ -384,7 +384,7 @@ 60 #define HAVE_STRING_H 1 61 62 /* Define to 1 if you have the `strlcpy' function. */ 63 -/* #undef HAVE_STRLCPY */ 64 +#define HAVE_STRLCPY 1 65 66 /* Define to 1 if you have the `strncasecmp' function. */ 67 #define HAVE_STRNCASECMP 1 68 @@ -411,7 +411,7 @@ 69 #define HAVE_SYSCONF 1 70 71 /* Define to 1 if you have the <sys/endian.h> header file. */ 72 -/* #undef HAVE_SYS_ENDIAN_H */ 73 +#define HAVE_SYS_ENDIAN_H 1 74 75 /* Define to 1 if you have the <sys/mman.h> header file. */ 76 #define HAVE_SYS_MMAN_H 1 77 @@ -486,13 +486,13 @@ 78 /* #undef HAVE__STATI64 */ 79 80 /* Define to 1 if you have the `__bswap_16' intrinsic function. */ 81 -#define HAVE___BSWAP_16 1 82 +/* #undef HAVE___BSWAP_16 */ 83 84 /* Define to 1 if you have the `__bswap_32' intrinsic function. */ 85 -#define HAVE___BSWAP_32 1 86 +/* #undef HAVE___BSWAP_32 */ 87 88 /* Define to 1 if you have the `__bswap_64' intrinsic function. */ 89 -#define HAVE___BSWAP_64 1 90 +/* #undef HAVE___BSWAP_64 */ 91 92 /* Define to 1 if you have the `__builtin_bswap16' intrinsic function. */ 93 #define HAVE___BUILTIN_BSWAP16 1 94 @@ -620,7 +620,7 @@ 95 /* Define to the equivalent of the C99 'restrict' keyword, or to 96 nothing if this is not supported. Do not define if restrict is 97 supported directly. */ 98 -#define restrict __restrict 99 +#define restrict __restrict__ 100 /* Work around a bug in Sun C++: it does not support _Restrict or 101 __restrict__, even though the corresponding Sun C compiler ends up with 102 "#define restrict _Restrict" or "#define restrict __restrict__" in the 103 @@ -637,7 +637,7 @@ 104 /* Define if your snprintf function is not named snprintf. */ 105 /* #undef snprintf */ 106 107 -/* Define if your typeof operator is not named typeof. */ 108 +/* Define if your typeof operator is not named `typeof'. */ 109 #define typeof __typeof 110 111 /* Define to the type of an unsigned integer type wide enough to hold a 112