]> granicus.if.org Git - python/commitdiff
Define TCSASOFT if the flag exists.
authorGregory P. Smith <greg@mad-scientist.com>
Sat, 31 Oct 2009 21:23:39 +0000 (21:23 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Sat, 31 Oct 2009 21:23:39 +0000 (21:23 +0000)
Modules/termios.c

index c53566c12b70524941dea6ec1fe7a145c7703573..e2872fb348ccf085238f7b33f3e63b3ac12de3a1 100644 (file)
@@ -357,6 +357,9 @@ static struct constant {
        {"TCSANOW", TCSANOW},
        {"TCSADRAIN", TCSADRAIN},
        {"TCSAFLUSH", TCSAFLUSH},
+#ifdef TCSASOFT
+       {"TCSASOFT", TCSASOFT},
+#endif
 
        /* tcflush() constants */
        {"TCIFLUSH", TCIFLUSH},