From: Guido van Rossum Date: Fri, 22 Sep 2000 17:26:14 +0000 (+0000) Subject: It's better to test for __hpux rather than __hppa, and hpux or hppa is X-Git-Tag: v2.0b2~118 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7f58e2ec76e778b88fa48fdb5bde4d18e4e64c8e;p=python It's better to test for __hpux rather than __hppa, and hpux or hppa is unnecessary. Sez edg@SF --- diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index d0de19128a..27571033d2 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