mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
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:
parent
e2bd4401ca
commit
b81a5fcc0b
5 changed files with 13 additions and 5 deletions
|
@ -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>
|
2010-03-23 Riccardo Mottola <rmottola@users.sf.net>
|
||||||
|
|
||||||
* Source/NSObject.m: Atomic increment and decrement functions for mips
|
* Source/NSObject.m: Atomic increment and decrement functions for mips
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
* For safety we enable this only on linux and hurd where glibc is likely.
|
* For safety we enable this only on linux and hurd where glibc is likely.
|
||||||
* We include features.h explicitely to avoid weird problems.
|
* We include features.h explicitely to avoid weird problems.
|
||||||
*/
|
*/
|
||||||
#if defined __linux__ || defined __hurd__
|
#if defined __linux__ || defined __GNU__
|
||||||
# ifndef _XOPEN_SOURCE
|
# ifndef _XOPEN_SOURCE
|
||||||
# define _XOPEN_SOURCE 600
|
# define _XOPEN_SOURCE 600
|
||||||
# endif
|
# endif
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/** Control of executable units within a shared virtual memory space
|
/** 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>
|
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
|
// 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
|
// them. Other platforms have more sensible libcs, which just default to being
|
||||||
// standards-compliant.
|
// standards-compliant.
|
||||||
#if defined __linux__ || defined __hurd__
|
#if defined __linux__ || defined __GNU__
|
||||||
# ifndef _XOPEN_SOURCE
|
# ifndef _XOPEN_SOURCE
|
||||||
# define _XOPEN_SOURCE 600
|
# define _XOPEN_SOURCE 600
|
||||||
# endif
|
# endif
|
||||||
|
|
|
@ -89,7 +89,7 @@
|
||||||
/* we define _XOPEN_SOURCE to get all the necessary pthread attributes
|
/* 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
|
* and we need to define it here and not just in GSPThread.h because
|
||||||
* GLIBC is so picky with defines */
|
* GLIBC is so picky with defines */
|
||||||
#if defined __linux__ || defined __hurd__
|
#if defined __linux__ || defined __GNU__
|
||||||
# ifndef _XOPEN_SOURCE
|
# ifndef _XOPEN_SOURCE
|
||||||
# define _XOPEN_SOURCE 600
|
# define _XOPEN_SOURCE 600
|
||||||
# endif
|
# endif
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Ensure Unix98 compatible pthreads for glibc */
|
/* Ensure Unix98 compatible pthreads for glibc */
|
||||||
#if defined __linux__ || defined __hurd__
|
#if defined __linux__ || defined __GNU__
|
||||||
# ifndef _XOPEN_SOURCE
|
# ifndef _XOPEN_SOURCE
|
||||||
# define _XOPEN_SOURCE 600
|
# define _XOPEN_SOURCE 600
|
||||||
# endif
|
# endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue