]> granicus.if.org Git - python/commitdiff
It's better to test for __hpux rather than __hppa, and hpux or hppa is
authorGuido van Rossum <guido@python.org>
Fri, 22 Sep 2000 17:26:14 +0000 (17:26 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 22 Sep 2000 17:26:14 +0000 (17:26 +0000)
unnecessary.  Sez edg@SF

Modules/posixmodule.c

index d0de19128af22c9fea2cd61e0db6b13f0a29f0cd..27571033d2adea8276f3e0967f5e98a11cc31c51 100644 (file)
@@ -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