projects
/
u
/
mdw
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1439a6
)
uxpty.c uses non-X/Open facilities (notably strsignal()), so don't define
author
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Mon, 25 Apr 2005 17:21:08 +0000
(17:21 +0000)
committer
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Mon, 25 Apr 2005 17:21:08 +0000
(17:21 +0000)
_XOPEN_SOURCE. We do still need _GNU_SOURCE in order to get grantpt()
on GNU systems. This allows uxpty.c to compile on NetBSD.
git-svn-id: svn://svn.tartarus.org/sgt/putty@5675
cda61777
-01e9-0310-a592-
d414129be87e
unix/uxpty.c
patch
|
blob
|
blame
|
history
diff --git
a/unix/uxpty.c
b/unix/uxpty.c
index
37a017d
..
8c25f93
100644
(file)
--- a/
unix/uxpty.c
+++ b/
unix/uxpty.c
@@
-2,8
+2,6
@@
* Pseudo-tty backend for pterm.
*/
-#define _XOPEN_SOURCE 600
-#define _XOPEN_SOURCE_EXTENDED
#define _GNU_SOURCE
#include <stdio.h>