1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

script: fix compilation with -O2 (replace define of _GNU_SOURCE by _XOPEN_SOURCE)

This commit is contained in:
Sebastien Helleu
2012-08-15 00:21:01 +02:00
parent 4c6ee497aa
commit 3b8cc67f2a
+1 -3
View File
@@ -21,9 +21,7 @@
* script-repo.c: download and read repository file (plugins.xml.gz)
*/
#ifndef _GNU_SOURCE
#define _GNU_SOURCE 1
#endif
#define _XOPEN_SOURCE 700
#include <stdlib.h>
#include <unistd.h>