mirror of
https://github.com/swaywm/sway.git
synced 2026-04-26 06:46:26 -04:00
C: Handle _POSIX_C_SOURCE macro properly
This commit is contained in:
parent
31b4b96ebf
commit
539ef77bfa
97 changed files with 393 additions and 5 deletions
|
|
@ -1,4 +1,8 @@
|
|||
#define _POSIX_C_SOURCE 200809
|
||||
#if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE+0 < 200809L
|
||||
#undef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include <cairo.h>
|
||||
#include <fcntl.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue