Make clangd aware of the _POSIX_C_SOURCE define in the build system

This commit is contained in:
omicron 2025-04-04 19:48:24 +02:00
parent 1571c52012
commit cb8768b1d0

View File

@ -1,2 +1,2 @@
CompileFlags: CompileFlags:
Add: ["-std=c23", "-x", "c"] Add: ["-std=c23", "-x", "c", "-D_POSIX_C_SOURCE=200809L"]