- 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:
Bryce Denney 2001-04-10 02:31:24 +00:00
parent 431b22c1e8
commit 3f7f880427
3 changed files with 26 additions and 1 deletions

View File

@ -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
View File

@ -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

View File

@ -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)