mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
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. [originally from svn r5675]
This commit is contained in:
parent
265950a800
commit
b0d3cceb99
@ -2,8 +2,6 @@
|
||||
* Pseudo-tty backend for pterm.
|
||||
*/
|
||||
|
||||
#define _XOPEN_SOURCE 600
|
||||
#define _XOPEN_SOURCE_EXTENDED
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#include <stdio.h>
|
||||
|
Loading…
Reference in New Issue
Block a user