build sameboy update on linux, fix linux build

This commit is contained in:
CasualPokePlayer 2024-04-12 16:41:27 -07:00
parent 5df8ce3b8e
commit d4e52cae54
3 changed files with 2 additions and 1 deletions

Binary file not shown.

View File

@ -1,3 +1,4 @@
#include <stdlib.h>
#include <string.h>
#include <gb.h>

View File

@ -84,7 +84,7 @@ add_library(
${CORE_DIR}/timing.h
)
target_compile_definitions(core PUBLIC _USE_MATH_DEFINES _CRT_SECURE_NO_WARNINGS)
target_compile_definitions(core PUBLIC _USE_MATH_DEFINES _GNU_SOURCE _CRT_SECURE_NO_WARNINGS)
target_compile_definitions(core PUBLIC GB_DISABLE_DEBUGGER GB_DISABLE_CHEATS GB_DISABLE_TIMEKEEPING GB_DISABLE_REWIND GB_VERSION="BizHawk")
target_compile_definitions(core PRIVATE GB_INTERNAL)
target_include_directories(core PUBLIC ${CORE_DIR})