mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
tweaks for OpenBSD
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32766 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b1a7add38e
commit
47b6cf1384
4 changed files with 14 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
|||
2011-04-03 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
|
||||
|
||||
* Source/GNUmakefile:
|
||||
* Source/NSObject.m:
|
||||
* Source/NSTask.m:
|
||||
Tweaks for OpenBSD build
|
||||
|
||||
2011-04-03 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/unix/GSRunLoopCtxt.m:
|
||||
|
|
|
@ -100,7 +100,7 @@ GSLocale.m \
|
|||
preface.m
|
||||
|
||||
ifeq ($(findstring openbsd, $(GNUSTEP_TARGET_OS)), openbsd)
|
||||
OBJC_LIBS += -lpthread
|
||||
OBJC_LIBS += -pthread
|
||||
endif
|
||||
|
||||
ifeq ($(GNUSTEP_TARGET_OS), mingw32)
|
||||
|
|
|
@ -57,9 +57,12 @@
|
|||
#ifdef HAVE_SYS_SIGNAL_H
|
||||
#include <sys/signal.h>
|
||||
#endif
|
||||
#ifdef __FreeBSD__
|
||||
|
||||
#if __GNUC__ >= 4
|
||||
#if defined(__FreeBSD__)
|
||||
#include <fenv.h>
|
||||
#endif
|
||||
#endif // __GNUC__
|
||||
|
||||
#define IN_NSOBJECT_M 1
|
||||
#import "GSPrivate.h"
|
||||
|
|
|
@ -53,10 +53,11 @@
|
|||
#include <unistd.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
#ifdef __FreeBSD__
|
||||
#if defined(__FreeBSD__) || defined(__OpenBSD__)
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef HAVE_WINDOWS_H
|
||||
# include <windows.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue