]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
uxpty.c uses non-X/Open facilities (notably strsignal()), so don't define
authorBen Harris <bjh21@bjh21.me.uk>
Mon, 25 Apr 2005 17:21:08 +0000 (17:21 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
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.

[originally from svn r5675]

unix/uxpty.c

index 37a017d35ad79f8b19afdca765ef6caedbe628c3..8c25f932fbdb123b28c4f77f6cdd25c2d107c0f2 100644 (file)
@@ -2,8 +2,6 @@
  * Pseudo-tty backend for pterm.
  */
 
-#define _XOPEN_SOURCE 600
-#define _XOPEN_SOURCE_EXTENDED
 #define _GNU_SOURCE
 
 #include <stdio.h>