1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Only avoid all C-runtime I/O if the SQLITE_USE_ONLY_WIN32 flag is defined.

FossilOrigin-Name: 164b1e1962aa1e16bdf52e9e86d4cf9c9e09220c0821932ac8e390e82074185f
This commit is contained in:
drh
2024-08-27 14:25:52 +00:00
parent fcd65efcf1
commit 8aa9135f2c
3 changed files with 17 additions and 15 deletions

View File

@@ -609,7 +609,9 @@ fFlushBuffer(FILE *pfOut){
}
#endif
# if CIO_WIN_WC_XLATE && !defined(SHELL_OMIT_FIO_DUPE)
#if CIO_WIN_WC_XLATE \
&& !defined(SHELL_OMIT_FIO_DUPE) \
&& defined(SQLITE_USE_ONLY_WIN32)
static struct FileAltIds {
int fd;
HANDLE fh;