Skip to content

Commit 7f58e2e

Browse files
committed
It's better to test for __hpux rather than __hppa, and hpux or hppa is
unnecessary. Sez edg@SF
1 parent 38178fd commit 7f58e2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/posixmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ posix_fsync(PyObject *self, PyObject *args)
703703

704704
#ifdef HAVE_FDATASYNC
705705

706-
#if defined(__hppa) || defined(hppa)
706+
#ifdef __hpux
707707
extern int fdatasync(int); /* On HP-UX, in libc but not in unistd.h */
708708
#endif
709709

0 commit comments

Comments
 (0)