From 2a87094d362e3101c765d65b203ab36b6ec36472 Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 25 Apr 2005 17:21:08 +0000 Subject: [PATCH] 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 --- unix/uxpty.c | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.11.0