diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2018-11-25 12:12:48 +0100 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2018-11-25 12:12:48 +0100 |
| commit | 74eb763cc95908d361f06d675da4a706294fce69 (patch) | |
| tree | d9512652cc8891246ab9faf77e9c9e329f82f818 /common | |
| parent | 18fe05ea3e798384e3a7595002b7ee1b53e1a06f (diff) | |
Replace _XOPEN_SOURCE with _POSIX_C_SOURCE
And make sure we don't define both in the same source file.
Diffstat (limited to 'common')
| -rw-r--r-- | common/stringop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/stringop.c b/common/stringop.c index d2c91c24..df016e9d 100644 --- a/common/stringop.c +++ b/common/stringop.c @@ -1,4 +1,4 @@ -#define _XOPEN_SOURCE 700 +#define _POSIX_C_SOURCE 200809L #include <stdlib.h> #include <stdio.h> #include <string.h> |
