Remove HAVE_GETTIMEOFDAY defines for all ports.

- gettimeofday() is no longer used, so we don't need the define anymore
This commit is contained in:
Stephen Anthony 2018-07-01 21:21:01 -02:30
parent d8b4228ead
commit cb6c04815e
2 changed files with 3 additions and 5 deletions

6
configure vendored
View File

@ -711,17 +711,17 @@ LD=$CXX
case $_host_os in case $_host_os in
unix) unix)
DEFINES="$DEFINES -DBSPF_UNIX -DHAVE_GETTIMEOFDAY" DEFINES="$DEFINES -DBSPF_UNIX"
MODULES="$MODULES $SRC/unix" MODULES="$MODULES $SRC/unix"
INCLUDES="$INCLUDES -I$SRC/unix" INCLUDES="$INCLUDES -I$SRC/unix"
;; ;;
darwin) darwin)
DEFINES="$DEFINES -DBSPF_UNIX -DHAVE_GETTIMEOFDAY -DOSX_KEYS" DEFINES="$DEFINES -DBSPF_UNIX -DOSX_KEYS"
MODULES="$MODULES $SRC/unix" MODULES="$MODULES $SRC/unix"
INCLUDES="$INCLUDES -I$SRC/unix" INCLUDES="$INCLUDES -I$SRC/unix"
;; ;;
win32) win32)
DEFINES="$DEFINES -DBSPF_WINDOWS -DHAVE_GETTIMEOFDAY" DEFINES="$DEFINES -DBSPF_WINDOWS"
MODULES="$MODULES $SRC/windows" MODULES="$MODULES $SRC/windows"
INCLUDES="$INCLUDES -I$SRC/windows" INCLUDES="$INCLUDES -I$SRC/windows"
LIBS="$LIBS -lmingw32 -lwinmm" LIBS="$LIBS -lmingw32 -lwinmm"

View File

@ -2943,7 +2943,6 @@
GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_OPTIMIZATION_LEVEL = 0; GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = ( GCC_PREPROCESSOR_DEFINITIONS = (
HAVE_GETTIMEOFDAY,
CHEATCODE_SUPPORT, CHEATCODE_SUPPORT,
DEBUGGER_SUPPORT, DEBUGGER_SUPPORT,
JOYSTICK_SUPPORT, JOYSTICK_SUPPORT,
@ -2995,7 +2994,6 @@
GCC_GENERATE_DEBUGGING_SYMBOLS = NO; GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_OPTIMIZATION_LEVEL = 3; GCC_OPTIMIZATION_LEVEL = 3;
GCC_PREPROCESSOR_DEFINITIONS = ( GCC_PREPROCESSOR_DEFINITIONS = (
HAVE_GETTIMEOFDAY,
CHEATCODE_SUPPORT, CHEATCODE_SUPPORT,
DEBUGGER_SUPPORT, DEBUGGER_SUPPORT,
JOYSTICK_SUPPORT, JOYSTICK_SUPPORT,