Commit be4fea61 authored by Martin v. Löwis's avatar Martin v. Löwis

Patch #787189: Explicitly define CTRL on SGI.

parent 48440b7c
......@@ -4,6 +4,12 @@
#define PyInit_termios inittermios
/* Apparently, on SGI, termios.h won't define CTRL if _XOPEN_SOURCE
is defined, so we define it here. */
#if defined(__sgi)
#define CTRL(c) ((c)&037)
#endif
#include <termios.h>
#ifdef __osf__
/* On OSF, sys/ioctl.h requires that struct termio already be defined,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment