Skip to content

Commit 5bce99b

Browse files
authored
Merge pull request #258 from pillo79/pr-xopen-source
posix: define M_PI and other stuff in Zephyr sketches
2 parents 5884037 + b804a29 commit 5bce99b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

loader/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ target_sources_ifdef(CONFIG_USB_DEVICE_STACK_NEXT app PRIVATE
2323

2424
FILE(GLOB app_sources *.c)
2525
target_sources(app PRIVATE ${app_sources})
26+
target_compile_definitions(app PUBLIC _XOPEN_SOURCE=700)
2627

2728
target_link_libraries(app PUBLIC blobs)

0 commit comments

Comments
 (0)