change defines for GNU/HURD

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30039 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2010-03-25 22:53:21 +00:00
parent cb4c554422
commit 462f5721ab
5 changed files with 13 additions and 5 deletions

View file

@ -1,3 +1,11 @@
2010-03-25 Riccardo Mottola <rmottola@users.sf.net>
* Source/GSPThread.h
* Source/NSZone.m
* Source/ObjectiveC2/sync.m
* Source/NSLock.m:
change defines for GNU/HURD
2010-03-23 Riccardo Mottola <rmottola@users.sf.net>
* Source/NSObject.m: Atomic increment and decrement functions for mips

View file

@ -30,7 +30,7 @@
* For safety we enable this only on linux and hurd where glibc is likely.
* We include features.h explicitely to avoid weird problems.
*/
#if defined __linux__ || defined __hurd__
#if defined __linux__ || defined __GNU__
# ifndef _XOPEN_SOURCE
# define _XOPEN_SOURCE 600
# endif

View file

@ -1,5 +1,5 @@
/** Control of executable units within a shared virtual memory space
Copyright (C) 1996-2000 Free Software Foundation, Inc.
Copyright (C) 1996-2010 Free Software Foundation, Inc.
Original Author: David Chisnall <csdavec@swan.ac.uk>
@ -26,7 +26,7 @@
// This file uses some SUS'98 extensions, so we need to tell glibc not to hide
// them. Other platforms have more sensible libcs, which just default to being
// standards-compliant.
#if defined __linux__ || defined __hurd__
#if defined __linux__ || defined __GNU__
# ifndef _XOPEN_SOURCE
# define _XOPEN_SOURCE 600
# endif

View file

@ -89,7 +89,7 @@
/* we define _XOPEN_SOURCE to get all the necessary pthread attributes
* and we need to define it here and not just in GSPThread.h because
* GLIBC is so picky with defines */
#if defined __linux__ || defined __hurd__
#if defined __linux__ || defined __GNU__
# ifndef _XOPEN_SOURCE
# define _XOPEN_SOURCE 600
# endif

View file

@ -1,5 +1,5 @@
/* Ensure Unix98 compatible pthreads for glibc */
#if defined __linux__ || defined __hurd__
#if defined __linux__ || defined __GNU__
# ifndef _XOPEN_SOURCE
# define _XOPEN_SOURCE 600
# endif