We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d84b6ef commit 026f9c0Copy full SHA for 026f9c0
src/include/port/linux.h
@@ -1,9 +1,3 @@
1
-/* Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise */
2
-#ifndef _GNU_SOURCE
3
-#define _GNU_SOURCE 1
4
-#endif
5
-
6
7
#if defined(__i386__) || defined(__x86_64__)
8
typedef unsigned char slock_t;
9
src/template/linux
@@ -1,4 +1,6 @@
CFLAGS=-O2
+# Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise
+CPPFLAGS="-D_GNU_SOURCE"
SUPPORTS_THREADS=yes
NEED_REENTRANT_FUNCS=yes # verified glibc 2.1 2003-09-03
0 commit comments