diff options
author | Simon Ser <contact@emersion.fr> | 2024-02-16 15:17:18 +0100 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2024-02-23 17:43:19 +0300 |
commit | fc640d5f6c82883c35e90a64f0098486e6091293 (patch) | |
tree | 654d9fb88fb1885088a6638169bff592b8bd0bc0 /common | |
parent | 07b059852673cd9e148c2adfc6bb4f8a0d0ff315 (diff) |
Define _POSIX_C_SOURCE globally
See discussion in https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4555
Diffstat (limited to 'common')
-rw-r--r-- | common/gesture.c | 1 | ||||
-rw-r--r-- | common/ipc-client.c | 1 | ||||
-rw-r--r-- | common/log.c | 1 | ||||
-rw-r--r-- | common/loop.c | 1 | ||||
-rw-r--r-- | common/stringop.c | 1 | ||||
-rw-r--r-- | common/util.c | 1 |
6 files changed, 0 insertions, 6 deletions
diff --git a/common/gesture.c b/common/gesture.c index 58170443..272aa837 100644 --- a/common/gesture.c +++ b/common/gesture.c @@ -1,4 +1,3 @@ -#define _POSIX_C_SOURCE 200809L #include "gesture.h" #include <math.h> diff --git a/common/ipc-client.c b/common/ipc-client.c index d30212d2..a0be2b2d 100644 --- a/common/ipc-client.c +++ b/common/ipc-client.c @@ -1,4 +1,3 @@ -#define _POSIX_C_SOURCE 200809L #include <stdio.h> #include <stdint.h> #include <stdlib.h> diff --git a/common/log.c b/common/log.c index 483420e7..3eacdb34 100644 --- a/common/log.c +++ b/common/log.c @@ -1,4 +1,3 @@ -#define _POSIX_C_SOURCE 200112L #include <signal.h> #include <stdarg.h> #include <stdio.h> diff --git a/common/loop.c b/common/loop.c index 80fe18ea..b99c6d55 100644 --- a/common/loop.c +++ b/common/loop.c @@ -1,4 +1,3 @@ -#define _POSIX_C_SOURCE 200112L #include <limits.h> #include <string.h> #include <stdbool.h> diff --git a/common/stringop.c b/common/stringop.c index c503143a..16d04917 100644 --- a/common/stringop.c +++ b/common/stringop.c @@ -1,4 +1,3 @@ -#define _POSIX_C_SOURCE 200809L #include <ctype.h> #include <stdarg.h> #include <stdbool.h> diff --git a/common/util.c b/common/util.c index 5d4c0673..7c492bcb 100644 --- a/common/util.c +++ b/common/util.c @@ -1,4 +1,3 @@ -#define _POSIX_C_SOURCE 200809L #include <ctype.h> #include <fcntl.h> #include <math.h> |