[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: __USE_UNIX98 to enable late pthread features
From: |
Yavor Doganov |
Subject: |
Re: __USE_UNIX98 to enable late pthread features |
Date: |
Tue, 24 Aug 2010 08:10:21 +0000 (UTC) |
User-agent: |
Pan/0.133 (House of Butterflies) |
В Mon, 23 Aug 2010 11:01:14 -0700, Paul Eggert написа:
> On 08/23/10 10:28, John Calcote wrote:
>> What is the correct approach for this situation? Should I simply define
>> __USE_UNIX98 in my source code
>
> No, because that symbol is private to glibc. I wouldn't mess with it.
> Instead, use Autoconf's AC_USE_SYSTEM_EXTENSIONS.
Exactly. If it's interesting for someone,
https://savannah.gnu.org/bugs/index.php?30094 and
http://thread.gmane.org/gmane.comp.lib.gnustep.devel/9096/focus=9099
demonstrate a real breakage that is fixed by just using
AC_USE_SYSTEM_EXTENSIONS.