It's better to test for __hpux rather than __hppa, and hpux or hppa is
unnecessary. Sez edg@SF
This commit is contained in:
parent
38178fd951
commit
7f58e2ec76
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue