1
0
Fork 0

Let compiler generate offset arithmetic to make fpu-x86 portable to x86_64.(thanks wjp)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3851
This commit is contained in:
Peter Veenstra 2013-12-05 18:56:20 +00:00
parent 3b2adeccbf
commit 3074cbbc59
2 changed files with 152 additions and 317 deletions

View file

@ -320,7 +320,7 @@ if test x$enable_fpu_x86 = xno ; then
AC_MSG_RESULT(no)
else
if test x$enable_fpu = xyes; then
if test x$c_targetcpu = xx86 ; then
if test x$c_targetcpu = xx86 -o x$c_targetcpu = xx86_64; then
AC_DEFINE(C_FPU_X86,1)
AC_MSG_RESULT(yes)
else