diff options
author | Guido van Rossum <guido@python.org> | 2000-09-22 17:26:14 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-09-22 17:26:14 (GMT) |
commit | 7f58e2ec76e778b88fa48fdb5bde4d18e4e64c8e (patch) | |
tree | d7811c9b242bf168b1d52552e0cb1f9944b46112 | |
parent | 38178fd951a2b213c0ae83c2bf98e6ee051436b5 (diff) | |
download | cpython-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
-rw-r--r-- | Modules/posixmodule.c | 2 |
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 |