- set good defaults for win32-vcpp
#define BX_64BIT_CONSTANTS_USE_LL 0 #define inline __inline #define BX_NO_EMPTY_STRUCTS 1 #define BX_NO_ATTRIBUTES 1 #define BX_HAVE_HASH_MAP 0
This commit is contained in:
parent
431b22c1e8
commit
3f7f880427
@ -367,7 +367,7 @@
|
||||
#elif SIZEOF_INT_P == 8
|
||||
typedef Bit64u bx_ptr_equiv_t;
|
||||
#else
|
||||
# error "could define bx_ptr_equiv_t to size of int*"
|
||||
# error "could not define bx_ptr_equiv_t to size of int*"
|
||||
#endif
|
||||
|
||||
|
||||
|
20
bochs/configure
vendored
20
bochs/configure
vendored
@ -3599,6 +3599,26 @@ EOF
|
||||
COMMAND_SEPARATOR=""
|
||||
CD_UP_ONE="cd .."
|
||||
CD_UP_TWO="cd ..\.."
|
||||
cat >> confdefs.h <<\EOF
|
||||
#define BX_64BIT_CONSTANTS_USE_LL 0
|
||||
EOF
|
||||
|
||||
cat >> confdefs.h <<\EOF
|
||||
#define inline __inline
|
||||
EOF
|
||||
|
||||
cat >> confdefs.h <<\EOF
|
||||
#define BX_NO_EMPTY_STRUCTS 1
|
||||
EOF
|
||||
|
||||
cat >> confdefs.h <<\EOF
|
||||
#define BX_NO_ATTRIBUTES 1
|
||||
EOF
|
||||
|
||||
cat >> confdefs.h <<\EOF
|
||||
#define BX_HAVE_HASH_MAP 0
|
||||
EOF
|
||||
|
||||
elif test "$with_macos" = yes; then
|
||||
cat >> confdefs.h <<\EOF
|
||||
#define BX_WITH_MACOS 1
|
||||
|
@ -665,6 +665,11 @@ elif test "$with_win32_vcpp" = yes; then
|
||||
COMMAND_SEPARATOR=""
|
||||
CD_UP_ONE="cd .."
|
||||
CD_UP_TWO="cd ..\.."
|
||||
AC_DEFINE(BX_64BIT_CONSTANTS_USE_LL, 0)
|
||||
AC_DEFINE(inline, __inline)
|
||||
AC_DEFINE(BX_NO_EMPTY_STRUCTS, 1)
|
||||
AC_DEFINE(BX_NO_ATTRIBUTES, 1)
|
||||
AC_DEFINE(BX_HAVE_HASH_MAP, 0)
|
||||
elif test "$with_macos" = yes; then
|
||||
AC_DEFINE(BX_WITH_MACOS, 1)
|
||||
AC_DEFINE(BX_HAVE_STRDUP, 0)
|
||||
|
Loading…
Reference in New Issue
Block a user