- for macos, strdup is not defined. force configure --with-macos to
define BX_HAVE_STRDUP=0.
This commit is contained in:
parent
4e04f4cb58
commit
fdac0b6e12
4
bochs/configure
vendored
4
bochs/configure
vendored
@ -3602,6 +3602,10 @@ EOF
|
||||
elif test "$with_macos" = yes; then
|
||||
cat >> confdefs.h <<\EOF
|
||||
#define BX_WITH_MACOS 1
|
||||
EOF
|
||||
|
||||
cat >> confdefs.h <<\EOF
|
||||
#define BX_HAVE_STRDUP 0
|
||||
EOF
|
||||
|
||||
GUI_OBJS='$(GUI_OBJS_MACOS)'
|
||||
|
@ -667,6 +667,7 @@ elif test "$with_win32_vcpp" = yes; then
|
||||
CD_UP_TWO="cd ..\.."
|
||||
elif test "$with_macos" = yes; then
|
||||
AC_DEFINE(BX_WITH_MACOS, 1)
|
||||
AC_DEFINE(BX_HAVE_STRDUP, 0)
|
||||
GUI_OBJS='$(GUI_OBJS_MACOS)'
|
||||
GUI_LINK_OPTS='$(GUI_LINK_OPTS_MACOS)'
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user