summaryrefslogtreecommitdiffstats
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorHye-Shik Chang <hyeshik@gmail.com>2005-12-13 16:44:02 (GMT)
committerHye-Shik Chang <hyeshik@gmail.com>2005-12-13 16:44:02 (GMT)
commite237d50390433a4d38944221a6c3280cc6940d9e (patch)
tree326e24476a76c251bbcbbd8c3acc18d5f2d07adf /pyconfig.h.in
parent50f8169fb6520488c6b4dfcb4603e845d5ae1ca1 (diff)
downloadcpython-e237d50390433a4d38944221a6c3280cc6940d9e.zip
cpython-e237d50390433a4d38944221a6c3280cc6940d9e.tar.gz
cpython-e237d50390433a4d38944221a6c3280cc6940d9e.tar.bz2
Add a workaround for file.ftell() to raise IOError for ttys.
ftell(3) on BSD doesn't set errno even for ttys and returns useless values.
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r--pyconfig.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in
index 47723de..2d4fabf 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -46,6 +46,9 @@
/* Define to 1 if you have the <bluetooth.h> header file. */
#undef HAVE_BLUETOOTH_H
+/* Define if ftell() set errno on tty files. */
+#undef HAVE_BROKEN_FTELL
+
/* Define if nice() returns success/failure instead of the new priority. */
#undef HAVE_BROKEN_NICE