mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 09:12:24 +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.
|
* Pseudo-tty backend for pterm.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define _XOPEN_SOURCE 600
|
|
||||||
#define _XOPEN_SOURCE_EXTENDED
|
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user