Commit-ID: b423c02ad2fa97310ea72968540e38e70d73c43e
Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=b423c02ad2fa97310ea72968540e38e70d73c43e
Author: H. Peter Anvin <hp...@li...>
AuthorDate: Thu, 18 Feb 2016 11:57:53 -0800
Committer: H. Peter Anvin <hp...@li...>
CommitDate: Thu, 18 Feb 2016 11:57:53 -0800
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 <hp...@li...>
---
compiler.h | 3 +++
configure.in | 1 +
2 files changed, 4 insertions(+)
diff --git a/compiler.h b/compiler.h
index e9022f8..4a68576 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 023bd24..5164f4d 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
|