mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-14 15:36:34 +00:00
ptsname() needs _GNU_SOURCE on glibc. (#192)
glibc needs `_XOPEN_SOURCE` to have a declaration for `ptsname()`. An easy way to get that without having to know about particular `_XOPEN_SOURCE` values is to define `_GNU_SOURCE`. Closes interlisp/medley#137.
This commit is contained in:
parent
69be706a69
commit
c83741eb06
@ -9,6 +9,10 @@ Unix Interface Communications
|
||||
/* Don't compile this at all under DOS. */
|
||||
#ifndef DOS
|
||||
|
||||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE /* Needed for ptsname on glibc systems. */
|
||||
#endif
|
||||
|
||||
/************************************************************************/
|
||||
/* */
|
||||
/* (C) Copyright 1989-1995 by Venue. All Rights Reserved. */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user