Skip to content

Commit 9b9a5b1

Browse files
Update meson.build
1 parent 7beb755 commit 9b9a5b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

code/logic/meson.build

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
dir = include_directories('.')
22
cc = meson.get_compiler('c')
3+
add_project_arguments('-D_POSIX_C_SOURCE=200112L', language: 'c')
4+
add_project_arguments('-D_POSIX_C_SOURCE=200112L', language: 'cpp')
35

46
# Check if the host system is Windows
57
if host_machine.system() == 'windows'

0 commit comments

Comments
 (0)