From: ben Date: Mon, 25 Apr 2005 17:21:08 +0000 (+0000) Subject: uxpty.c uses non-X/Open facilities (notably strsignal()), so don't define X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/2a87094d362e3101c765d65b203ab36b6ec36472 uxpty.c uses non-X/Open facilities (notably strsignal()), so don't define _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 --- diff --git a/unix/uxpty.c b/unix/uxpty.c index 37a017d3..8c25f932 100644 --- 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