diff options
Diffstat (limited to 'emu/CMakeLists.txt')
-rw-r--r-- | emu/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/emu/CMakeLists.txt b/emu/CMakeLists.txt index e1fe6c9..04b1788 100644 --- a/emu/CMakeLists.txt +++ b/emu/CMakeLists.txt @@ -8,7 +8,7 @@ project(emu C) set( EMU_VERSION 0.0.1 ) -set(CMAKE_C_FLAGS "-g -O0 -std=c99 -Wall -DWITH_GUI") +set(CMAKE_C_FLAGS "-g -O0 -std=c99 -Wall -DWITH_GUI -D_POSIX_C_SOURCE=200809L") add_custom_target(distclean COMMAND make clean @@ -21,6 +21,8 @@ configure_file( "${PROJECT_SOURCE_DIR}/version.h.in" "${PROJECT_SOURCE_DIR}/version.h" @ONLY ) set(SRC + device.c + bus.c 6502.c memory.c 7seg.c |