[Python-checkins] CVS: python/dist/src/Modules posixmodule.c,2.172,2.173
Guido van Rossum
python-dev@python.org
Fri, 22 Sep 2000 10:26:17 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory slayer.i.sourceforge.net:/tmp/cvs-serv28169
Modified Files:
posixmodule.c
Log Message:
It's better to test for __hpux rather than __hppa, and hpux or hppa is
unnecessary. Sez edg@SF
Index: posixmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/posixmodule.c,v
retrieving revision 2.172
retrieving revision 2.173
diff -C2 -r2.172 -r2.173
*** posixmodule.c 2000/09/22 16:01:05 2.172
--- posixmodule.c 2000/09/22 17:26:14 2.173
***************
*** 704,708 ****
#ifdef HAVE_FDATASYNC
! #if defined(__hppa) || defined(hppa)
extern int fdatasync(int); /* On HP-UX, in libc but not in unistd.h */
#endif
--- 704,708 ----
#ifdef HAVE_FDATASYNC
! #ifdef __hpux
extern int fdatasync(int); /* On HP-UX, in libc but not in unistd.h */
#endif