Skip to content

Commit 47dad39

Browse files
add posix macros to build script
1 parent af4ba64 commit 47dad39

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,4 +1,6 @@
11
dir = include_directories('.')
2+
add_project_arguments('-D_POSIX_C_SOURCE=200112L', language: 'c')
3+
add_project_arguments('-D_POSIX_C_SOURCE=200112L', language: 'cpp')
24

35
fossil_sys_lib = library('fossil_sys',
46
files('memory.c', 'datetime.c', 'hostinfo.c', 'syscall.c', 'bitwise.c'),

0 commit comments

Comments
 (0)