diff options
author | polwex <polwex@sortug.com> | 2025-10-05 21:56:51 +0700 |
---|---|---|
committer | polwex <polwex@sortug.com> | 2025-10-05 21:56:51 +0700 |
commit | fcedfddf00b3f994e4f4e40332ac7fc192c63244 (patch) | |
tree | 51d38e62c7bdfcc5f9a5e9435fe820c93cfc9a3d /vere/ext/nasm/config |
claude is gud
Diffstat (limited to 'vere/ext/nasm/config')
-rw-r--r-- | vere/ext/nasm/config/config.h.in | 913 | ||||
-rw-r--r-- | vere/ext/nasm/config/msvc.h | 196 | ||||
-rw-r--r-- | vere/ext/nasm/config/unconfig.h | 182 | ||||
-rw-r--r-- | vere/ext/nasm/config/unknown.h | 51 | ||||
-rw-r--r-- | vere/ext/nasm/config/watcom.h | 105 |
5 files changed, 1447 insertions, 0 deletions
diff --git a/vere/ext/nasm/config/config.h.in b/vere/ext/nasm/config/config.h.in new file mode 100644 index 0000000..eb99190 --- /dev/null +++ b/vere/ext/nasm/config/config.h.in @@ -0,0 +1,913 @@ +/* config/config.h.in. Generated from configure.ac by autoheader. */ + +/* Define to 1 to call abort() on panics (internal errors), for debugging. */ +#undef ABORT_ON_PANIC + +/* Define if building universal (internal helper macro) */ +#undef AC_APPLE_UNIVERSAL_BUILD + +/* Define to 1 if compiled with the `-fdata-sections' compiler flag */ +#undef CFLAGS_FDATA_SECTIONS + +/* Define to 1 if compiled with the `-ffunction-sections' compiler flag */ +#undef CFLAGS_FFUNCTION_SECTIONS + +/* Define to 1 if compiled with the `-fgnu89-inline' compiler flag */ +#undef CFLAGS_FGNU89_INLINE + +/* Define to 1 if compiled with the `-flto' compiler flag */ +#undef CFLAGS_FLTO + +/* Define to 1 if compiled with the `-fno-common' compiler flag */ +#undef CFLAGS_FNO_COMMON + +/* Define to 1 if compiled with the `-fno-omit-frame-pointer' compiler flag */ +#undef CFLAGS_FNO_OMIT_FRAME_POINTER + +/* Define to 1 if compiled with the `-fsanitize=address' compiler flag */ +#undef CFLAGS_FSANITIZE_ADDRESS + +/* Define to 1 if compiled with the `-fsanitize=undefined' compiler flag */ +#undef CFLAGS_FSANITIZE_UNDEFINED + +/* Define to 1 if compiled with the `-ftrivial-auto-var-init=zero' compiler + flag */ +#undef CFLAGS_FTRIVIAL_AUTO_VAR_INIT_ZERO + +/* Define to 1 if compiled with the `-fvisibility=hidden' compiler flag */ +#undef CFLAGS_FVISIBILITY_HIDDEN + +/* Define to 1 if compiled with the `-fwrapv' compiler flag */ +#undef CFLAGS_FWRAPV + +/* Define to 1 if compiled with the `-ggdb3' compiler flag */ +#undef CFLAGS_GGDB3 + +/* Define to 1 if compiled with the `-O0' compiler flag */ +#undef CFLAGS_O0 + +/* Define to 1 if compiled with the `-pedantic' compiler flag */ +#undef CFLAGS_PEDANTIC + +/* Define to 1 if compiled with the `-pg' compiler flag */ +#undef CFLAGS_PG + +/* Define to 1 if compiled with the `-std=c11' compiler flag */ +#undef CFLAGS_STD_C11 + +/* Define to 1 if compiled with the `-std=c17' compiler flag */ +#undef CFLAGS_STD_C17 + +/* Define to 1 if compiled with the `-std=c99' compiler flag */ +#undef CFLAGS_STD_C99 + +/* Define to 1 if compiled with the `-U__STRICT_ANSI__' compiler flag */ +#undef CFLAGS_U_STRICT_ANSI + +/* Define to 1 if compiled with the `-W' compiler flag */ +#undef CFLAGS_W + +/* Define to 1 if compiled with the `-Wall' compiler flag */ +#undef CFLAGS_WALL + +/* Define to 1 if compiled with the `-Wc90-c99-compat' compiler flag */ +#undef CFLAGS_WC90_C99_COMPAT + +/* Define to 1 if compiled with the `-Wc99-compat' compiler flag */ +#undef CFLAGS_WC99_COMPAT + +/* Define to 1 if compiled with the `-Wc99-extensions' compiler flag */ +#undef CFLAGS_WC99_EXTENSIONS + +/* Define to 1 if compiled with the `-Werror' compiler flag */ +#undef CFLAGS_WERROR + +/* Define to 1 if compiled with the `-Werror=attributes' compiler flag */ +#undef CFLAGS_WERROR_ATTRIBUTES + +/* Define to 1 if compiled with the `-Werror=comment' compiler flag */ +#undef CFLAGS_WERROR_COMMENT + +/* Define to 1 if compiled with the `-Werror=implicit' compiler flag */ +#undef CFLAGS_WERROR_IMPLICIT + +/* Define to 1 if compiled with the `-Werror=missing-braces' compiler flag */ +#undef CFLAGS_WERROR_MISSING_BRACES + +/* Define to 1 if compiled with the `-Werror=missing-declarations' compiler + flag */ +#undef CFLAGS_WERROR_MISSING_DECLARATIONS + +/* Define to 1 if compiled with the `-Werror=missing-prototypes' compiler flag + */ +#undef CFLAGS_WERROR_MISSING_PROTOTYPES + +/* Define to 1 if compiled with the `-Werror=pointer-arith' compiler flag */ +#undef CFLAGS_WERROR_POINTER_ARITH + +/* Define to 1 if compiled with the `-Werror=return-type' compiler flag */ +#undef CFLAGS_WERROR_RETURN_TYPE + +/* Define to 1 if compiled with the `-Werror=strict-prototypes' compiler flag + */ +#undef CFLAGS_WERROR_STRICT_PROTOTYPES + +/* Define to 1 if compiled with the `-Werror=trigraphs' compiler flag */ +#undef CFLAGS_WERROR_TRIGRAPHS + +/* Define to 1 if compiled with the `-Werror=unknown-warning-option' compiler + flag */ +#undef CFLAGS_WERROR_UNKNOWN_WARNING_OPTION + +/* Define to 1 if compiled with the `-Werror=vla' compiler flag */ +#undef CFLAGS_WERROR_VLA + +/* Define to 1 if compiled with the `-Wlong-long' compiler flag */ +#undef CFLAGS_WLONG_LONG + +/* Define to 1 if compiled with the `-Wpedantic-ms-format' compiler flag */ +#undef CFLAGS_WPEDANTIC_MS_FORMAT + +/* Define to 1 if compiled with the `-Wshift-negative-value' compiler flag */ +#undef CFLAGS_WSHIFT_NEGATIVE_VALUE + +/* Define to 1 if compiled with the `-Wstringop-truncation' compiler flag */ +#undef CFLAGS_WSTRINGOP_TRUNCATION + +/* Define to 1 if compiled with the `-Wsuggest-attribute=cold' compiler flag + */ +#undef CFLAGS_WSUGGEST_ATTRIBUTE_COLD + +/* Define to 1 if compiled with the `-Wsuggest-attribute=const' compiler flag + */ +#undef CFLAGS_WSUGGEST_ATTRIBUTE_CONST + +/* Define to 1 if compiled with the `-Wsuggest-attribute=format' compiler flag + */ +#undef CFLAGS_WSUGGEST_ATTRIBUTE_FORMAT + +/* Define to 1 if compiled with the `-Wsuggest-attribute=malloc' compiler flag + */ +#undef CFLAGS_WSUGGEST_ATTRIBUTE_MALLOC + +/* Define to 1 if compiled with the `-Wsuggest-attribute=noreturn' compiler + flag */ +#undef CFLAGS_WSUGGEST_ATTRIBUTE_NORETURN + +/* Define to 1 if compiled with the `-Wsuggest-attribute=pure' compiler flag + */ +#undef CFLAGS_WSUGGEST_ATTRIBUTE_PURE + +/* Define to 1 if you have the `access' function. */ +#undef HAVE_ACCESS + +/* Define to 1 if you have the `canonicalize_file_name' function. */ +#undef HAVE_CANONICALIZE_FILE_NAME + +/* Define to 1 if you have the `cpu_to_le16' intrinsic function. */ +#undef HAVE_CPU_TO_LE16 + +/* Define to 1 if you have the `cpu_to_le32' intrinsic function. */ +#undef HAVE_CPU_TO_LE32 + +/* Define to 1 if you have the `cpu_to_le64' intrinsic function. */ +#undef HAVE_CPU_TO_LE64 + +/* Define to 1 if you have the declaration of `strcasecmp', and to 0 if you + don't. */ +#undef HAVE_DECL_STRCASECMP + +/* Define to 1 if you have the declaration of `stricmp', and to 0 if you + don't. */ +#undef HAVE_DECL_STRICMP + +/* Define to 1 if you have the declaration of `strlcpy', and to 0 if you + don't. */ +#undef HAVE_DECL_STRLCPY + +/* Define to 1 if you have the declaration of `strncasecmp', and to 0 if you + don't. */ +#undef HAVE_DECL_STRNCASECMP + +/* Define to 1 if you have the declaration of `strnicmp', and to 0 if you + don't. */ +#undef HAVE_DECL_STRNICMP + +/* Define to 1 if you have the declaration of `strnlen', and to 0 if you + don't. */ +#undef HAVE_DECL_STRNLEN + +/* Define to 1 if you have the declaration of `strrchrnul', and to 0 if you + don't. */ +#undef HAVE_DECL_STRRCHRNUL + +/* Define to 1 if you have the declaration of `strsep', and to 0 if you don't. + */ +#undef HAVE_DECL_STRSEP + +/* Define to 1 if you have the <endian.h> header file. */ +#undef HAVE_ENDIAN_H + +/* Define to 1 if you have the `faccessat' function. */ +#undef HAVE_FACCESSAT + +/* Define to 1 if you have the <fcntl.h> header file. */ +#undef HAVE_FCNTL_H + +/* Define to 1 if you have the `fileno' function. */ +#undef HAVE_FILENO + +/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ +#undef HAVE_FSEEKO + +/* Define to 1 if you have the `fstat' function. */ +#undef HAVE_FSTAT + +/* Define to 1 if you have the `ftruncate' function. */ +#undef HAVE_FTRUNCATE + +/* Define to 1 if your compiler supports __attribute__((alloc_size)) on + functions */ +#undef HAVE_FUNC_ATTRIBUTE1_ALLOC_SIZE + +/* Define to 1 if your compiler supports __attribute__((alloc_size)) on + functions */ +#undef HAVE_FUNC_ATTRIBUTE2_ALLOC_SIZE + +/* Define to 1 if your compiler supports __attribute__((format)) on functions + */ +#undef HAVE_FUNC_ATTRIBUTE3_FORMAT + +/* Define to 1 if your compiler supports __attribute__((cold)) on functions */ +#undef HAVE_FUNC_ATTRIBUTE_COLD + +/* Define to 1 if your compiler supports __attribute__((const)) on functions + */ +#undef HAVE_FUNC_ATTRIBUTE_CONST + +/* Define to 1 if your compiler supports __attribute__((error)) on functions + */ +#undef HAVE_FUNC_ATTRIBUTE_ERROR + +/* Define to 1 if your compiler supports __attribute__((malloc)) on functions + */ +#undef HAVE_FUNC_ATTRIBUTE_MALLOC + +/* Define to 1 if your compiler supports __attribute__((noreturn)) on + functions */ +#undef HAVE_FUNC_ATTRIBUTE_NORETURN + +/* Define to 1 if your compiler supports __attribute__((pure)) on functions */ +#undef HAVE_FUNC_ATTRIBUTE_PURE + +/* Define to 1 if your compiler supports __attribute__((returns_nonnull)) on + functions */ +#undef HAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL + +/* Define to 1 if your compiler supports __attribute__((sentinel)) on + functions */ +#undef HAVE_FUNC_ATTRIBUTE_SENTINEL + +/* Define to 1 if your compiler supports __attribute__((unused)) on functions + */ +#undef HAVE_FUNC_ATTRIBUTE_UNUSED + +/* Define to 1 if your compiler supports __attribute__((alloc_size)) on + function pointers */ +#undef HAVE_FUNC_PTR_ATTRIBUTE1_ALLOC_SIZE + +/* Define to 1 if your compiler supports __attribute__((alloc_size)) on + function pointers */ +#undef HAVE_FUNC_PTR_ATTRIBUTE2_ALLOC_SIZE + +/* Define to 1 if your compiler supports __attribute__((format)) on function + pointers */ +#undef HAVE_FUNC_PTR_ATTRIBUTE3_FORMAT + +/* Define to 1 if your compiler supports __attribute__((cold)) on function + pointers */ +#undef HAVE_FUNC_PTR_ATTRIBUTE_COLD + +/* Define to 1 if your compiler supports __attribute__((const)) on function + pointers */ +#undef HAVE_FUNC_PTR_ATTRIBUTE_CONST + +/* Define to 1 if your compiler supports __attribute__((malloc)) on function + pointers */ +#undef HAVE_FUNC_PTR_ATTRIBUTE_MALLOC + +/* Define to 1 if your compiler supports __attribute__((noreturn)) on function + pointers */ +#undef HAVE_FUNC_PTR_ATTRIBUTE_NORETURN + +/* Define to 1 if your compiler supports __attribute__((pure)) on function + pointers */ +#undef HAVE_FUNC_PTR_ATTRIBUTE_PURE + +/* Define to 1 if your compiler supports __attribute__((returns_nonnull)) on + function pointers */ +#undef HAVE_FUNC_PTR_ATTRIBUTE_RETURNS_NONNULL + +/* Define to 1 if your compiler supports __attribute__((sentinel)) on function + pointers */ +#undef HAVE_FUNC_PTR_ATTRIBUTE_SENTINEL + +/* Define to 1 if your compiler supports __attribute__((unused)) on function + pointers */ +#undef HAVE_FUNC_PTR_ATTRIBUTE_UNUSED + +/* Define to 1 if you have the `getgid' function. */ +#undef HAVE_GETGID + +/* Define to 1 if you have the `getpagesize' function. */ +#undef HAVE_GETPAGESIZE + +/* Define to 1 if you have the `getrlimit' function. */ +#undef HAVE_GETRLIMIT + +/* Define to 1 if you have the `getuid' function. */ +#undef HAVE_GETUID + +/* Define to 1 if you have the `htole16' intrinsic function. */ +#undef HAVE_HTOLE16 + +/* Define to 1 if you have the `htole32' intrinsic function. */ +#undef HAVE_HTOLE32 + +/* Define to 1 if you have the `htole64' intrinsic function. */ +#undef HAVE_HTOLE64 + +/* Define to 1 if you have the <intrin.h> header file. */ +#undef HAVE_INTRIN_H + +/* Define to 1 if you have the <inttypes.h> header file. */ +#undef HAVE_INTTYPES_H + +/* Define to 1 if you have the <io.h> header file. */ +#undef HAVE_IO_H + +/* Define to 1 if you have the `isascii' function. */ +#undef HAVE_ISASCII + +/* Define to 1 if you have the `iscntrl' function. */ +#undef HAVE_ISCNTRL + +/* Define to 1 if you have the <machine/endian.h> header file. */ +#undef HAVE_MACHINE_ENDIAN_H + +/* Define to 1 if you have the `mempcpy' function. */ +#undef HAVE_MEMPCPY + +/* Define to 1 if you have the `mempset' function. */ +#undef HAVE_MEMPSET + +/* Define to 1 if you have the <minix/config.h> header file. */ +#undef HAVE_MINIX_CONFIG_H + +/* Define to 1 if you have a working `mmap' system call. */ +#undef HAVE_MMAP + +/* Define to 1 if you have the `pathconf' function. */ +#undef HAVE_PATHCONF + +/* Define to 1 if you have the `realpath' function. */ +#undef HAVE_REALPATH + +/* Define to 1 if you have some version of the snprintf function. */ +#undef HAVE_SNPRINTF + +/* Define to 1 if you have the `stat' function. */ +#undef HAVE_STAT + +/* Define to 1 if you have the <stdarg.h> header file. */ +#undef HAVE_STDARG_H + +/* Define to 1 if stdbool.h conforms to C99. */ +#undef HAVE_STDBOOL_H + +/* Define to 1 if your compiler supports C99 extern inline */ +#undef HAVE_STDC_INLINE + +/* Define to 1 if you have the <stdint.h> header file. */ +#undef HAVE_STDINT_H + +/* Define to 1 if you have the <stdio.h> header file. */ +#undef HAVE_STDIO_H + +/* Define to 1 if you have the <stdlib.h> header file. */ +#undef HAVE_STDLIB_H + +/* Define to 1 if you have the <stdnoreturn.h> header file. */ +#undef HAVE_STDNORETURN_H + +/* Define to 1 if you have the `strcasecmp' function. */ +#undef HAVE_STRCASECMP + +/* Define to 1 if you have the `stricmp' function. */ +#undef HAVE_STRICMP + +/* Define to 1 if you have the <strings.h> header file. */ +#undef HAVE_STRINGS_H + +/* Define to 1 if you have the <string.h> header file. */ +#undef HAVE_STRING_H + +/* Define to 1 if you have the `strlcpy' function. */ +#undef HAVE_STRLCPY + +/* Define to 1 if you have the `strncasecmp' function. */ +#undef HAVE_STRNCASECMP + +/* Define to 1 if you have the `strnicmp' function. */ +#undef HAVE_STRNICMP + +/* Define to 1 if you have the `strnlen' function. */ +#undef HAVE_STRNLEN + +/* Define to 1 if you have the `strrchrnul' function. */ +#undef HAVE_STRRCHRNUL + +/* Define to 1 if you have the `strsep' function. */ +#undef HAVE_STRSEP + +/* Define to 1 if the system has the type `struct stat'. */ +#undef HAVE_STRUCT_STAT + +/* Define to 1 if the system has the type `struct _stati64'. */ +#undef HAVE_STRUCT__STATI64 + +/* Define to 1 if you have the `sysconf' function. */ +#undef HAVE_SYSCONF + +/* Define to 1 if you have the <sys/endian.h> header file. */ +#undef HAVE_SYS_ENDIAN_H + +/* Define to 1 if you have the <sys/mman.h> header file. */ +#undef HAVE_SYS_MMAN_H + +/* Define to 1 if you have the <sys/param.h> header file. */ +#undef HAVE_SYS_PARAM_H + +/* Define to 1 if you have the <sys/resource.h> header file. */ +#undef HAVE_SYS_RESOURCE_H + +/* Define to 1 if you have the <sys/stat.h> header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the <sys/types.h> header file. */ +#undef HAVE_SYS_TYPES_H + +/* Define to 1 if you have the `S_ISREG' function. */ +#undef HAVE_S_ISREG + +/* Define to 1 if you have some version of the typeof operator. */ +#undef HAVE_TYPEOF + +/* Define to 1 if the system has the type `uintptr_t'. */ +#undef HAVE_UINTPTR_T + +/* Define to 1 if you have the <unistd.h> header file. */ +#undef HAVE_UNISTD_H + +/* Define to 1 if you have some version of the vsnprintf function. */ +#undef HAVE_VSNPRINTF + +/* Define to 1 if you have the <wchar.h> header file. */ +#undef HAVE_WCHAR_H + +/* Define to 1 if you have the `_access' function. */ +#undef HAVE__ACCESS + +/* Define to 1 if you have the `_BitScanReverse' intrinsic function. */ +#undef HAVE__BITSCANREVERSE + +/* Define to 1 if you have the `_BitScanReverse64' intrinsic function. */ +#undef HAVE__BITSCANREVERSE64 + +/* Define to 1 if the system has the type `_Bool'. */ +#undef HAVE__BOOL + +/* Define to 1 if you have the `_byteswap_uint64' intrinsic function. */ +#undef HAVE__BYTESWAP_UINT64 + +/* Define to 1 if you have the `_byteswap_ulong' intrinsic function. */ +#undef HAVE__BYTESWAP_ULONG + +/* Define to 1 if you have the `_byteswap_ushort' intrinsic function. */ +#undef HAVE__BYTESWAP_USHORT + +/* Define to 1 if you have the `_chsize' function. */ +#undef HAVE__CHSIZE + +/* Define to 1 if you have the `_chsize_s' function. */ +#undef HAVE__CHSIZE_S + +/* Define to 1 if you have the `_fileno' function. */ +#undef HAVE__FILENO + +/* Define to 1 if you have the `_fseeki64' function. */ +#undef HAVE__FSEEKI64 + +/* Define to 1 if you have the `_fstati64' function. */ +#undef HAVE__FSTATI64 + +/* Define to 1 if you have the `_fullpath' function. */ +#undef HAVE__FULLPATH + +/* Define to 1 if you have the `_stati64' function. */ +#undef HAVE__STATI64 + +/* Define to 1 if you have the `__bswap_16' intrinsic function. */ +#undef HAVE___BSWAP_16 + +/* Define to 1 if you have the `__bswap_32' intrinsic function. */ +#undef HAVE___BSWAP_32 + +/* Define to 1 if you have the `__bswap_64' intrinsic function. */ +#undef HAVE___BSWAP_64 + +/* Define to 1 if you have the `__builtin_bswap16' intrinsic function. */ +#undef HAVE___BUILTIN_BSWAP16 + +/* Define to 1 if you have the `__builtin_bswap32' intrinsic function. */ +#undef HAVE___BUILTIN_BSWAP32 + +/* Define to 1 if you have the `__builtin_bswap64' intrinsic function. */ +#undef HAVE___BUILTIN_BSWAP64 + +/* Define to 1 if you have the `__builtin_choose_expr' intrinsic function. */ +#undef HAVE___BUILTIN_CHOOSE_EXPR + +/* Define to 1 if you have the `__builtin_clz' intrinsic function. */ +#undef HAVE___BUILTIN_CLZ + +/* Define to 1 if you have the `__builtin_clzl' intrinsic function. */ +#undef HAVE___BUILTIN_CLZL + +/* Define to 1 if you have the `__builtin_clzll' intrinsic function. */ +#undef HAVE___BUILTIN_CLZLL + +/* Define to 1 if you have the `__builtin_constant_p' intrinsic function. */ +#undef HAVE___BUILTIN_CONSTANT_P + +/* Define to 1 if you have the `__builtin_expect' intrinsic function. */ +#undef HAVE___BUILTIN_EXPECT + +/* Define to 1 if you have the `__cpu_to_le16' intrinsic function. */ +#undef HAVE___CPU_TO_LE16 + +/* Define to 1 if you have the `__cpu_to_le32' intrinsic function. */ +#undef HAVE___CPU_TO_LE32 + +/* Define to 1 if you have the `__cpu_to_le64' intrinsic function. */ +#undef HAVE___CPU_TO_LE64 + +/* Define to 1 if compiled with the `-Wl,--gc-sections' compiler flag */ +#undef LDFLAGS_WL_GC_SECTIONS + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the home page for this package. */ +#undef PACKAGE_URL + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* Define to 1 if all of the C90 standard headers exist (not just the ones + required in a freestanding environment). This macro is provided for + backward compatibility; new code need not use it. */ +#undef STDC_HEADERS + +/* Enable extensions on AIX 3, Interix. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable general extensions on macOS. */ +#ifndef _DARWIN_C_SOURCE +# undef _DARWIN_C_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable X/Open compliant socket functions that do not require linking + with -lxnet on HP-UX 11.11. */ +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# undef _HPUX_ALT_XOPEN_SOCKET_API +#endif +/* Identify the host operating system as Minix. + This macro does not affect the system headers' behavior. + A future release of Autoconf may stop defining this macro. */ +#ifndef _MINIX +# undef _MINIX +#endif +/* Enable general extensions on NetBSD. + Enable NetBSD compatibility extensions on Minix. */ +#ifndef _NETBSD_SOURCE +# undef _NETBSD_SOURCE +#endif +/* Enable OpenBSD compatibility extensions on NetBSD. + Oddly enough, this does nothing on OpenBSD. */ +#ifndef _OPENBSD_SOURCE +# undef _OPENBSD_SOURCE +#endif +/* Define to 1 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_SOURCE +# undef _POSIX_SOURCE +#endif +/* Define to 2 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_1_SOURCE +# undef _POSIX_1_SOURCE +#endif +/* Enable POSIX-compatible threading on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# undef __STDC_WANT_IEC_60559_BFP_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# undef __STDC_WANT_IEC_60559_DFP_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# undef __STDC_WANT_IEC_60559_TYPES_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ +#ifndef __STDC_WANT_LIB_EXT2__ +# undef __STDC_WANT_LIB_EXT2__ +#endif +/* Enable extensions specified by ISO/IEC 24747:2009. */ +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# undef __STDC_WANT_MATH_SPEC_FUNCS__ +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable X/Open extensions. Define to 500 only if necessary + to make mbstate_t available. */ +#ifndef _XOPEN_SOURCE +# undef _XOPEN_SOURCE +#endif + + +/* Define to 1 if your processor stores words with the most significant byte + first (like Motorola and SPARC, unlike Intel and VAX). */ +#undef WORDS_BIGENDIAN + +/* Define to 1 if your processor stores words with the least significant byte + first (like Intel and VAX, unlike Motorola and SPARC). */ +#undef WORDS_LITTLEENDIAN + +/* Number of bits in a file offset, on hosts where this is settable. */ +#undef _FILE_OFFSET_BITS + +/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ +#undef _LARGEFILE_SOURCE + +/* Define for large files, on AIX-style hosts. */ +#undef _LARGE_FILES + +/* Define to empty if `const' does not conform to ANSI C. */ +#undef const + +/* Define to `__inline__' or `__inline' if that's what the C compiler + calls it, or to nothing if 'inline' is not supported under any name. */ +#ifndef __cplusplus +#undef inline +#endif + +/* Define to the equivalent of the C99 'restrict' keyword, or to + nothing if this is not supported. Do not define if restrict is + supported only directly. */ +#undef restrict +/* Work around a bug in older versions of Sun C++, which did not + #define __restrict__ or support _Restrict or __restrict__ + even though the corresponding Sun C compiler ended up with + "#define restrict _Restrict" or "#define restrict __restrict__" + in the previous line. This workaround can be removed once + we assume Oracle Developer Studio 12.5 (2016) or later. */ +#if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__ +# define _Restrict +# define __restrict__ +#endif + +/* Define to `unsigned int' if <sys/types.h> does not define. */ +#undef size_t + +/* Define if your snprintf function is not named snprintf. */ +#undef snprintf + +/* Define if your typeof operator is not named `typeof'. */ +#undef typeof + +/* Define to the type of an unsigned integer type wide enough to hold a + pointer, if such a type exists, and if the system does not define it. */ +#undef uintptr_t + +/* Define if your vsnprintf function is not named vsnprintf. */ +#undef vsnprintf + + +/* Begin unconfig.h */ + +#ifndef alloc_size_func2 +# ifdef HAVE_FUNC_ATTRIBUTE2_ALLOC_SIZE +# define alloc_size_func2(x1,x2) __attribute__((alloc_size(x1,x2))) +# else +# define alloc_size_func2(x1,x2) +# endif +#endif + +#ifndef alloc_size_func2_ptr +# ifdef HAVE_FUNC_PTR_ATTRIBUTE2_ALLOC_SIZE +# define alloc_size_func2_ptr(x1,x2) __attribute__((alloc_size(x1,x2))) +# else +# define alloc_size_func2_ptr(x1,x2) +# endif +#endif + +#ifndef end_with_null +# ifdef HAVE_FUNC_ATTRIBUTE_SENTINEL +# define end_with_null __attribute__((sentinel)) +# else +# define end_with_null +# endif +#endif + +#ifndef end_with_null_ptr +# ifdef HAVE_FUNC_PTR_ATTRIBUTE_SENTINEL +# define end_with_null_ptr __attribute__((sentinel)) +# else +# define end_with_null_ptr +# endif +#endif + +#ifndef format_func3 +# ifdef HAVE_FUNC_ATTRIBUTE3_FORMAT +# define format_func3(x1,x2,x3) __attribute__((format(x1,x2,x3))) +# else +# define format_func3(x1,x2,x3) +# endif +#endif + +#ifndef format_func3_ptr +# ifdef HAVE_FUNC_PTR_ATTRIBUTE3_FORMAT +# define format_func3_ptr(x1,x2,x3) __attribute__((format(x1,x2,x3))) +# else +# define format_func3_ptr(x1,x2,x3) +# endif +#endif + +#ifndef const_func +# ifdef HAVE_FUNC_ATTRIBUTE_CONST +# define const_func __attribute__((const)) +# else +# define const_func +# endif +#endif + +#ifndef const_func_ptr +# ifdef HAVE_FUNC_PTR_ATTRIBUTE_CONST +# define const_func_ptr __attribute__((const)) +# else +# define const_func_ptr +# endif +#endif + +#ifndef pure_func +# ifdef HAVE_FUNC_ATTRIBUTE_PURE +# define pure_func __attribute__((pure)) +# else +# define pure_func +# endif +#endif + +#ifndef pure_func_ptr +# ifdef HAVE_FUNC_PTR_ATTRIBUTE_PURE +# define pure_func_ptr __attribute__((pure)) +# else +# define pure_func_ptr +# endif +#endif + +#ifndef noreturn_func +# ifdef HAVE_FUNC_ATTRIBUTE_NORETURN +# define noreturn_func __attribute__((noreturn)) +# else +# define noreturn_func +# endif +#endif + +#ifndef unlikely_func +# ifdef HAVE_FUNC_ATTRIBUTE_COLD +# define unlikely_func __attribute__((cold)) +# else +# define unlikely_func +# endif +#endif + +#ifndef unlikely_func_ptr +# ifdef HAVE_FUNC_PTR_ATTRIBUTE_COLD +# define unlikely_func_ptr __attribute__((cold)) +# else +# define unlikely_func_ptr +# endif +#endif + +#ifndef unused_func +# ifdef HAVE_FUNC_ATTRIBUTE_UNUSED +# define unused_func __attribute__((unused)) +# else +# define unused_func +# endif +#endif + +#ifndef unused_func_ptr +# ifdef HAVE_FUNC_PTR_ATTRIBUTE_UNUSED +# define unused_func_ptr __attribute__((unused)) +# else +# define unused_func_ptr +# endif +#endif + +#ifndef noreturn_func_ptr +# ifdef HAVE_FUNC_PTR_ATTRIBUTE_NORETURN +# define noreturn_func_ptr __attribute__((noreturn)) +# else +# define noreturn_func_ptr +# endif +#endif + +#ifndef never_null +# ifdef HAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL +# define never_null __attribute__((returns_nonnull)) +# else +# define never_null +# endif +#endif + +#ifndef never_null_ptr +# ifdef HAVE_FUNC_PTR_ATTRIBUTE_RETURNS_NONNULL +# define never_null_ptr __attribute__((returns_nonnull)) +# else +# define never_null_ptr +# endif +#endif + +#ifndef malloc_func +# ifdef HAVE_FUNC_ATTRIBUTE_MALLOC +# define malloc_func __attribute__((malloc)) +# else +# define malloc_func +# endif +#endif + +#ifndef malloc_func_ptr +# ifdef HAVE_FUNC_PTR_ATTRIBUTE_MALLOC +# define malloc_func_ptr __attribute__((malloc)) +# else +# define malloc_func_ptr +# endif +#endif + +#ifndef alloc_size_func1 +# ifdef HAVE_FUNC_ATTRIBUTE1_ALLOC_SIZE +# define alloc_size_func1(x1) __attribute__((alloc_size(x1))) +# else +# define alloc_size_func1(x1) +# endif +#endif + +#ifndef alloc_size_func1_ptr +# ifdef HAVE_FUNC_PTR_ATTRIBUTE1_ALLOC_SIZE +# define alloc_size_func1_ptr(x1) __attribute__((alloc_size(x1))) +# else +# define alloc_size_func1_ptr(x1) +# endif +#endif diff --git a/vere/ext/nasm/config/msvc.h b/vere/ext/nasm/config/msvc.h new file mode 100644 index 0000000..7f83ace --- /dev/null +++ b/vere/ext/nasm/config/msvc.h @@ -0,0 +1,196 @@ +/* ----------------------------------------------------------------------- * + * + * Copyright 2016 The NASM Authors - All Rights Reserved + * See the file AUTHORS included with the NASM distribution for + * the specific copyright holders. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following + * conditions are met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials provided + * with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * ----------------------------------------------------------------------- */ + +/* + * config/msvc.h + * + * Compiler definitions for Microsoft Visual C++; + * instead of unconfig.h. See config.h.in for the + * variables which can be defined here. + * + * MSDN seems to have information back to Visual Studio 2003, so aim + * for compatibility that far back. + * + * Relevant _MSC_VER values: + * 1310 - Visual Studio 2003 + * 1400 - Visual Studio 2005 + * 1500 - Visual Studio 2008 + * 1600 - Visual Studio 2010 + * 1700 - Visual Studio 2012 + * 1800 - Visual Studio 2013 + * 1900 - Visual Studio 2015 + * 1910 - Visual Studio 2017 + */ + +#ifndef NASM_CONFIG_MSVC_H +#define NASM_CONFIG_MSVC_H + +/* Define to 1 if you have the <fcntl.h> header file. */ +#define HAVE_FCNTL_H 1 + +/* Define to 1 if you have the <inttypes.h> header file. */ +#if _MSC_VER >= 1800 +# define HAVE_INTTYPES_H 1 +#endif + +/* Define to 1 if you have the <io.h> header file. */ +#define HAVE_IO_H 1 + +/* Define to 1 if you have the <stdlib.h> header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the <string.h> header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the <sys/stat.h> header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the <sys/types.h> header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the `access' function. */ +#define HAVE_ACCESS 1 +#if _MSC_VER < 1400 +# define access _access +#endif + +/* Define to 1 if you have the `fileno' function. */ +#define HAVE_FILENO 1 +#if _MSC_VER < 1400 +# define fileno _fileno +#endif + +/* Define to 1 if you have the `snprintf' function. */ +#define HAVE_SNPRINTF 1 +#if _MSC_VER < 1900 +# define snprintf _snprintf +#endif + +/* Define to 1 if you have the `_chsize' function. */ +#define HAVE__CHSIZE 1 + +/* Define to 1 if you have the `_chsize_s' function. */ +#if _MSC_VER >= 1400 +# define HAVE__CHSIZE_S 1 +#endif + +/* Define to 1 if you have the `_filelengthi64' function. */ +#define HAVE__FILELENGTHI64 1 + +/* Define to 1 if you have the `_fseeki64' function. */ +#define HAVE__FSEEKI64 1 + +/* Define to 1 if you have the `_fullpath' function. */ +#define HAVE__FULLPATH 1 + +/* Define to 1 if the system has the type `struct _stati64'. */ +#define HAVE_STRUCT__STATI64 + +/* Define to 1 if you have the `_stati64' function. */ +#define HAVE__STATI64 1 + +/* Define to 1 if you have the `_fstati64' function. */ +#define HAVE__FSTATI64 1 + +/* Define to 1 if stdbool.h conforms to C99. */ +#if _MSC_VER >= 1800 +# define HAVE_STDBOOL_H 1 +#endif + +/* Define to 1 if you have the `stricmp' function. */ +#define HAVE_STRICMP 1 +/* Define to 1 if you have the declaration of `stricmp', and to 0 if you + don't. */ +#define HAVE_DECL_STRICMP 1 +#if _MSC_VER < 1400 +# define stricmp _stricmp +#endif + +/* Define to 1 if you have the `strnicmp' function. */ +#define HAVE_STRNICMP 1 +/* Define to 1 if you have the declaration of `strnicmp', and to 0 if you + don't. */ +#define HAVE_DECL_STRNICMP 1 +#if _MSC_VER < 1400 +# define strnicmp _strnicmp +#endif + +#if _MSC_VER >= 1400 +/* Define to 1 if you have the `strnlen' function. */ +# define HAVE_STRNLEN 1 +/* Define to 1 if you have the declaration of `strnlen', and to 0 if you + don't. */ +# define HAVE_DECL_STRNLEN 1 +#endif + +/* Define to 1 if the system has the type `uintptr_t'. */ +#if _MSC_VER >= 1900 +# define HAVE_UINTPTR_T 1 +#else +/* Define to the type of an unsigned integer type wide enough to hold a + pointer, if such a type exists, and if the system does not define it. */ +# define uintptr_t size_t +#endif + +/* Define to 1 if you have the `vsnprintf' function. */ +#define HAVE_VSNPRINTF 1 +#if _MSC_VER < 1400 +# define vsnprint _vsnprintf +#endif + +/* Define to 1 if the system has the type `_Bool'. */ +#if _MSC_VER >= 1900 +# define HAVE__BOOL 1 +#endif + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define to 1 if your processor stores words with the least significant byte + first (like Intel and VAX, unlike Motorola and SPARC). */ +#define WORDS_LITTLEENDIAN 1 + +/* Define to `__inline__' or `__inline' if that's what the C compiler + calls it, or to nothing if 'inline' is not supported under any name. */ +#define inline __inline + +/* Define to the equivalent of the C99 'restrict' keyword, or to + nothing if this is not supported. Do not define if restrict is + supported directly. */ +#if _MSC_VER >= 1700 +#define restrict __restrict +#else +#define restrict +#endif + +#endif /* NASM_CONFIG_MSVC_H */ diff --git a/vere/ext/nasm/config/unconfig.h b/vere/ext/nasm/config/unconfig.h new file mode 100644 index 0000000..79cb70a --- /dev/null +++ b/vere/ext/nasm/config/unconfig.h @@ -0,0 +1,182 @@ +/* config/unconfig.h: autogenerated by tools/unconfig.pl */ + +#ifndef CONFIG_UNCONFIG_H +#define CONFIG_UNCONFIG_H + +#ifndef alloc_size_func2 +# ifdef HAVE_FUNC_ATTRIBUTE2_ALLOC_SIZE +# define alloc_size_func2(x1,x2) __attribute__((alloc_size(x1,x2))) +# else +# define alloc_size_func2(x1,x2) +# endif +#endif + +#ifndef alloc_size_func2_ptr +# ifdef HAVE_FUNC_PTR_ATTRIBUTE2_ALLOC_SIZE +# define alloc_size_func2_ptr(x1,x2) __attribute__((alloc_size(x1,x2))) +# else +# define alloc_size_func2_ptr(x1,x2) +# endif +#endif + +#ifndef end_with_null +# ifdef HAVE_FUNC_ATTRIBUTE_SENTINEL +# define end_with_null __attribute__((sentinel)) +# else +# define end_with_null +# endif +#endif + +#ifndef end_with_null_ptr +# ifdef HAVE_FUNC_PTR_ATTRIBUTE_SENTINEL +# define end_with_null_ptr __attribute__((sentinel)) +# else +# define end_with_null_ptr +# endif +#endif + +#ifndef format_func3 +# ifdef HAVE_FUNC_ATTRIBUTE3_FORMAT +# define format_func3(x1,x2,x3) __attribute__((format(x1,x2,x3))) +# else +# define format_func3(x1,x2,x3) +# endif +#endif + +#ifndef format_func3_ptr +# ifdef HAVE_FUNC_PTR_ATTRIBUTE3_FORMAT +# define format_func3_ptr(x1,x2,x3) __attribute__((format(x1,x2,x3))) +# else +# define format_func3_ptr(x1,x2,x3) +# endif +#endif + +#ifndef const_func +# ifdef HAVE_FUNC_ATTRIBUTE_CONST +# define const_func __attribute__((const)) +# else +# define const_func +# endif +#endif + +#ifndef const_func_ptr +# ifdef HAVE_FUNC_PTR_ATTRIBUTE_CONST +# define const_func_ptr __attribute__((const)) +# else +# define const_func_ptr +# endif +#endif + +#ifndef pure_func +# ifdef HAVE_FUNC_ATTRIBUTE_PURE +# define pure_func __attribute__((pure)) +# else +# define pure_func +# endif +#endif + +#ifndef pure_func_ptr +# ifdef HAVE_FUNC_PTR_ATTRIBUTE_PURE +# define pure_func_ptr __attribute__((pure)) +# else +# define pure_func_ptr +# endif +#endif + +#ifndef noreturn_func +# ifdef HAVE_FUNC_ATTRIBUTE_NORETURN +# define noreturn_func __attribute__((noreturn)) +# else +# define noreturn_func +# endif +#endif + +#ifndef unlikely_func +# ifdef HAVE_FUNC_ATTRIBUTE_COLD +# define unlikely_func __attribute__((cold)) +# else +# define unlikely_func +# endif +#endif + +#ifndef unlikely_func_ptr +# ifdef HAVE_FUNC_PTR_ATTRIBUTE_COLD +# define unlikely_func_ptr __attribute__((cold)) +# else +# define unlikely_func_ptr +# endif +#endif + +#ifndef unused_func +# ifdef HAVE_FUNC_ATTRIBUTE_UNUSED +# define unused_func __attribute__((unused)) +# else +# define unused_func +# endif +#endif + +#ifndef unused_func_ptr +# ifdef HAVE_FUNC_PTR_ATTRIBUTE_UNUSED +# define unused_func_ptr __attribute__((unused)) +# else +# define unused_func_ptr +# endif +#endif + +#ifndef noreturn_func_ptr +# ifdef HAVE_FUNC_PTR_ATTRIBUTE_NORETURN +# define noreturn_func_ptr __attribute__((noreturn)) +# else +# define noreturn_func_ptr +# endif +#endif + +#ifndef never_null +# ifdef HAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL +# define never_null __attribute__((returns_nonnull)) +# else +# define never_null +# endif +#endif + +#ifndef never_null_ptr +# ifdef HAVE_FUNC_PTR_ATTRIBUTE_RETURNS_NONNULL +# define never_null_ptr __attribute__((returns_nonnull)) +# else +# define never_null_ptr +# endif +#endif + +#ifndef malloc_func +# ifdef HAVE_FUNC_ATTRIBUTE_MALLOC +# define malloc_func __attribute__((malloc)) +# else +# define malloc_func +# endif +#endif + +#ifndef malloc_func_ptr +# ifdef HAVE_FUNC_PTR_ATTRIBUTE_MALLOC +# define malloc_func_ptr __attribute__((malloc)) +# else +# define malloc_func_ptr +# endif +#endif + +#ifndef alloc_size_func1 +# ifdef HAVE_FUNC_ATTRIBUTE1_ALLOC_SIZE +# define alloc_size_func1(x1) __attribute__((alloc_size(x1))) +# else +# define alloc_size_func1(x1) +# endif +#endif + +#ifndef alloc_size_func1_ptr +# ifdef HAVE_FUNC_PTR_ATTRIBUTE1_ALLOC_SIZE +# define alloc_size_func1_ptr(x1) __attribute__((alloc_size(x1))) +# else +# define alloc_size_func1_ptr(x1) +# endif +#endif + +#endif /* CONFIG_UNCONFIG_H */ diff --git a/vere/ext/nasm/config/unknown.h b/vere/ext/nasm/config/unknown.h new file mode 100644 index 0000000..d3cbe49 --- /dev/null +++ b/vere/ext/nasm/config/unknown.h @@ -0,0 +1,51 @@ +/* ----------------------------------------------------------------------- * + * + * Copyright 2016 The NASM Authors - All Rights Reserved + * See the file AUTHORS included with the NASM distribution for + * the specific copyright holders. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following + * conditions are met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials provided + * with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * ----------------------------------------------------------------------- */ + +/* + * config/unknown.h + * + * Compiler definitions for an unknown compiler. Assume the worst. + */ + +#ifndef NASM_CONFIG_UNKNOWN_H +#define NASM_CONFIG_UNKNOWN_H + +/* Assume these don't exist */ +#ifndef inline +# define inline +#endif +#ifndef restrict +# define restrict +#endif + +#endif /* NASM_CONFIG_UNKNOWN_H */ diff --git a/vere/ext/nasm/config/watcom.h b/vere/ext/nasm/config/watcom.h new file mode 100644 index 0000000..8d49026 --- /dev/null +++ b/vere/ext/nasm/config/watcom.h @@ -0,0 +1,105 @@ +/* ----------------------------------------------------------------------- * + * + * Copyright 2016 The NASM Authors - All Rights Reserved + * See the file AUTHORS included with the NASM distribution for + * the specific copyright holders. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following + * conditions are met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials provided + * with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * ----------------------------------------------------------------------- */ + +/* + * config/watcom.h + * + * Compiler definitions for OpenWatcom instead of config.h.in. + * See config.h.in for the variables which can be defined here. + * + * This was taken from openwcom.mak and needs to be actually validated. + */ + +#ifndef NASM_CONFIG_WATCOM_H +#define NASM_CONFIG_WATCOM_H + +#define HAVE_DECL_STRCASECMP 1 +#define HAVE_DECL_STRICMP 1 +#define HAVE_DECL_STRLCPY 1 +#define HAVE_DECL_STRNCASECMP 1 +#define HAVE_DECL_STRNICMP 1 +#ifndef __LINUX__ +#define HAVE_IO_H 1 +#endif +#define HAVE_LIMITS_H 1 +#define HAVE_MEMORY_H 1 +#define HAVE_SNPRINTF 1 +#if (__WATCOMC__ >= 1230) +#undef HAVE__BOOL /* need stdbool.h */ +#define HAVE_STDBOOL_H 1 +#define HAVE_INTTYPES_H 1 +#define HAVE_STDINT_H 1 +#define HAVE_UINTPTR_T 1 +#endif +#define HAVE_STDLIB_H 1 +#define HAVE_STRCSPN 1 +#define HAVE_STRICMP 1 +#define HAVE_STRNICMP 1 +#define HAVE_STRSPN 1 +#define HAVE_STRING_H 1 +#if (__WATCOMC__ >= 1240) +#define HAVE_STRCASECMP 1 +#define HAVE_STRNCASECMP 1 +#define HAVE_STRLCPY 1 +#define HAVE_STRINGS_H 1 +#endif +#define HAVE_SYS_STAT_H 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_FCNTL_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_VSNPRINTF 1 +#define STDC_HEADERS 1 + +#define HAVE__FULLPATH 1 +#define HAVE_ACCESS +#define HAVE_STRUCT_STAT +#define HAVE_STAT +#define HAVE_FSTAT +#define HAVE_FILENO +#ifdef __LINUX__ +#define HAVE_FTRUNCATE +#else +#define HAVE_CHSIZE +#define HAVE__CHSIZE +#endif +#define HAVE_ISASCII +#define HAVE_ISCNTRL + +#if (__WATCOMC__ >= 1250) +#define restrict __restrict +#else +#define restrict +#endif +#define inline __inline + +#endif /* NASM_CONFIG_WATCOM_H */ |