Commits

smontanaro  committed 5d2ba43

backport of HAVE_FSYNC fix

  • Participants
  • Parent commits fa65f65
  • Branches 2.3

Comments (0)

Files changed (3)

 #! /bin/sh
-# From configure.in Revision: 1.427.4.4 .
+# From configure.in Revision: 1.427.4.5 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.57 for python 2.3.
 #
   (exit $ac_status); }; }; then
 
 cat >>confdefs.h <<\_ACEOF
-#define HAVE_SYNC 1
+#define HAVE_FSYNC 1
 _ACEOF
 
   echo "$as_me:$LINENO: result: yes" >&5

File configure.in

 )
 AC_MSG_CHECKING(for fsync)
 AC_TRY_COMPILE([#include <unistd.h>], void *x=fsync,
-  AC_DEFINE(HAVE_SYNC, 1, Define if you have the 'fsync' function.)
+  AC_DEFINE(HAVE_FSYNC, 1, Define if you have the 'fsync' function.)
   AC_MSG_RESULT(yes),
   AC_MSG_RESULT(no)
 )

File pyconfig.h.in

 #undef HAVE_SYMLINK
 
 /* Define if you have the 'fsync' function. */
-#undef HAVE_SYNC
+#undef HAVE_FSYNC
 
 /* Define to 1 if you have the `sysconf' function. */
 #undef HAVE_SYSCONF