mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-03-19 00:51:51 +00:00
OpenBSD portability
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27504 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6a062ed252
commit
f0c308711b
3 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
2009-01-02 Riccardo Mottola <rmottola@users.sf.net>
|
||||
|
||||
* Modules/Debuggers/ProjectCenter/PTYView.m: OpenBSD portability
|
||||
|
||||
2009-01-01 19:40-EST Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Modules/Debuggers/ProjectCenter/PTYView.[mh]: Changes to use
|
||||
|
|
|
@ -32,8 +32,6 @@
|
|||
@class PCProject;
|
||||
@class PCButton;
|
||||
|
||||
@protocol CodeDebugger;
|
||||
|
||||
@interface PCProjectLauncher : NSObject
|
||||
{
|
||||
PCProject *project; // Not retained!
|
||||
|
|
|
@ -31,10 +31,13 @@
|
|||
#import <sys/termios.h>
|
||||
#import <sys/types.h>
|
||||
#import <unistd.h>
|
||||
#import <stropts.h>
|
||||
#import <stdlib.h>
|
||||
#import <string.h>
|
||||
|
||||
#if !defined(__OpenBSD__)
|
||||
#import <stropts.h>
|
||||
#endif
|
||||
|
||||
#ifndef NOTIFICATION_CENTER
|
||||
#define NOTIFICATION_CENTER [NSNotificationCenter defaultCenter]
|
||||
#endif
|
||||
|
@ -45,7 +48,7 @@
|
|||
#define USE_FORKPTY_REPLACEMENT 1
|
||||
#endif
|
||||
|
||||
#if !(defined (__NetBSD__)) && !(defined (__SOLARIS__))
|
||||
#if !(defined (__NetBSD__)) && !(defined (__SOLARIS__)) && !(defined (__OpenBSD__))
|
||||
# include <pty.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue