mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 19:08:32 +08:00
Check for Darwin kernel mach_vm_remap
This commit is contained in:
@@ -283,6 +283,12 @@ int x=10;if( __builtin_expect ((x==1),0) ) ;
|
||||
#switch language back
|
||||
AC_LANG_POP(C++)
|
||||
|
||||
dnl Check for mach_vm_remap (Darwin)
|
||||
AH_TEMPLATE(C_HAVE_MACH_VM_REMAP,[Define to 1 if you have the mach_vm_remap function])
|
||||
AC_CHECK_HEADER([mach/mach.h], [
|
||||
AC_CHECK_FUNC([mach_vm_remap],[AC_DEFINE(C_HAVE_MACH_VM_REMAP,1)])
|
||||
])
|
||||
|
||||
dnl Check for mprotect. Needed for 64 bits linux
|
||||
AH_TEMPLATE(C_HAVE_MPROTECT,[Define to 1 if you have the mprotect function])
|
||||
AC_CHECK_HEADER([sys/mman.h], [
|
||||
|
Reference in New Issue
Block a user