1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Another attempt to get fdatasync to be ignored on non-conforming posix systems.

Now a system has to opt-in for fdatasync instead of opt-out.
Ticket #1467. (CVS 2741)

FossilOrigin-Name: 115340d4e85f1bbbab657edbb504284343d86e2c
This commit is contained in:
drh
2005-10-05 10:29:36 +00:00
parent ff55c3585c
commit f2f23916ec
6 changed files with 24 additions and 25 deletions

10
configure vendored
View File

@ -1496,7 +1496,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
# The following RCS revision string applies to configure.in
# $Revision: 1.32 $
# $Revision: 1.33 $
#########
# Programs needed
@ -20435,16 +20435,10 @@ fi
echo "$as_me:$LINENO: result: $ac_cv_func_fdatasync" >&5
echo "${ECHO_T}$ac_cv_func_fdatasync" >&6
if test $ac_cv_func_fdatasync = yes; then
:
else
cat >>confdefs.h <<\_ACEOF
#define fdatasync fsync
_ACEOF
TARGET_CFLAGS="$TARGET_CFLAGS -DHAVE_FDATASYNC=1"
fi
#########
# Generate the output files.
#