Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit026f9c0

Browse files
committed
Move -D_GNU_SOURCE hack from port header to template, so that
configure's tests see the same compilation environment as the code.Per discussion with Stephan Szabo.
1 parentd84b6ef commit026f9c0

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

‎src/include/port/linux.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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-
71
#if defined(__i386__)|| defined(__x86_64__)
82
typedefunsignedcharslock_t;
93

‎src/template/linux

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
CFLAGS=-O2
2+
# Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise
3+
CPPFLAGS="-D_GNU_SOURCE"
24

35
SUPPORTS_THREADS=yes
46
NEED_REENTRANT_FUNCS=yes# verified glibc 2.1 2003-09-03

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp