mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-30 07:00:57 +00:00
Use 3-arg form of AC_DEFINE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8974 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a25d7ca200
commit
1ea4facf60
4
autoconf/aclocal.m4
vendored
4
autoconf/aclocal.m4
vendored
@ -6130,7 +6130,7 @@ ac_cv_func_mmap_file,
|
||||
AC_LANG_RESTORE
|
||||
])
|
||||
if test "$ac_cv_func_mmap_file" = yes; then
|
||||
AC_DEFINE(HAVE_MMAP_FILE)
|
||||
AC_DEFINE([HAVE_MMAP_FILE],[],[Define if mmap() can map files into memory])
|
||||
AC_SUBST(MMAP_FILE,[yes])
|
||||
fi
|
||||
])
|
||||
@ -6152,7 +6152,7 @@ ac_cv_header_mmap_anon,
|
||||
AC_LANG_RESTORE
|
||||
])
|
||||
if test "$ac_cv_header_mmap_anon" = yes; then
|
||||
AC_DEFINE(HAVE_MMAP_ANONYMOUS)
|
||||
AC_DEFINE([HAVE_MMAP_ANONYMOUS],[],[Define if mmap() uses MAP_ANONYMOUS to map anonymous pages, or undefine if it uses MAP_ANON])
|
||||
fi
|
||||
])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user