summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-09-22 17:26:14 (GMT)
committerGuido van Rossum <guido@python.org>2000-09-22 17:26:14 (GMT)
commit7f58e2ec76e778b88fa48fdb5bde4d18e4e64c8e (patch)
treed7811c9b242bf168b1d52552e0cb1f9944b46112 /Modules/posixmodule.c
parent38178fd951a2b213c0ae83c2bf98e6ee051436b5 (diff)
downloadcpython-7f58e2ec76e778b88fa48fdb5bde4d18e4e64c8e.zip
cpython-7f58e2ec76e778b88fa48fdb5bde4d18e4e64c8e.tar.gz
cpython-7f58e2ec76e778b88fa48fdb5bde4d18e4e64c8e.tar.bz2
It's better to test for __hpux rather than __hppa, and hpux or hppa is
unnecessary. Sez edg@SF
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index d0de191..2757103 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -703,7 +703,7 @@ posix_fsync(PyObject *self, PyObject *args)
#ifdef HAVE_FDATASYNC
-#if defined(__hppa) || defined(hppa)
+#ifdef __hpux
extern int fdatasync(int); /* On HP-UX, in libc but not in unistd.h */
#endif