From b423c02ad2fa97310ea72968540e38e70d73c43e Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 18 Feb 2016 11:57:53 -0800 Subject: [PATCH] Platform compatibility improvements Windows: indicate that we support multibyte character sets in file names. Unix: support gigantic input and output files. Might be useful especially in the presence of the INCBIN directive. Signed-off-by: H. Peter Anvin --- compiler.h | 3 +++ configure.in | 1 + 2 files changed, 4 insertions(+) diff --git a/compiler.h b/compiler.h index e9022f86..4a68576c 100644 --- a/compiler.h +++ b/compiler.h @@ -48,6 +48,9 @@ # undef __STRICT_ANSI__ #endif +/* On Microsoft platforms we support multibyte character sets in filenames */ +#define _MBCS 1 + #ifdef HAVE_CONFIG_H # include "config.h" /* autoconf doesn't define these if they are redundant, but we want to diff --git a/configure.in b/configure.in index 023bd240..5164f4db 100644 --- a/configure.in +++ b/configure.in @@ -49,6 +49,7 @@ AC_PREFIX_PROGRAM(nasm) dnl Checks for programs. dnl Consider AC_USE_SYSTEM_EXTENSIONS if autoconf 2.61 is OK in the future AC_USE_SYSTEM_EXTENSIONS +AC_SYS_LARGEFILE AC_PROG_CC AC_PROG_LN_S AC_PROG_MAKE_SET -- 2.11.4.GIT