From 7f58e2ec76e778b88fa48fdb5bde4d18e4e64c8e Mon Sep 17 00:00:00 2001
From: Guido van Rossum <guido@python.org>
Date: Fri, 22 Sep 2000 17:26:14 +0000
Subject: It's better to test for __hpux rather than __hppa, and hpux or hppa
 is unnecessary.  Sez edg@SF

---
 Modules/posixmodule.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 
-- 
cgit v0.12

