diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2012-08-15 00:21:14 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2012-08-15 00:21:14 +0200 |
commit | 83d237c47a64d0a21479fd9bd4bddcb2c0969e4f (patch) | |
tree | b9d2537814c895f8c4a6250ce2e56d147848583c /src/plugins | |
parent | 3b8cc67f2af9aaa3c46b8dd19cc09f8f65db0ce7 (diff) | |
download | weechat-83d237c47a64d0a21479fd9bd4bddcb2c0969e4f.zip |
logger: replace define of _GNU_SOURCE by _XOPEN_SOURCE
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/logger/logger.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/logger/logger.c b/src/plugins/logger/logger.c index 9ced402db..0f2850038 100644 --- a/src/plugins/logger/logger.c +++ b/src/plugins/logger/logger.c @@ -21,9 +21,7 @@ * logger.c: logger plugin for WeeChat: save buffer lines to disk files */ -#ifndef _GNU_SOURCE -#define _GNU_SOURCE 1 -#endif +#define _XOPEN_SOURCE 700 #include <stdlib.h> #include <unistd.h> |