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

Improve the portability of the src-verify.c tool on Windows.

FossilOrigin-Name: 4068d94acd042a0a9887fba8ba38fa94c6f41a6d3c7a61d5514a57f613b3d278
This commit is contained in:
drh
2023-08-15 18:08:14 +00:00
parent 8c5611a169
commit baa574ef32
3 changed files with 14 additions and 10 deletions

View File

@@ -47,8 +47,12 @@
# include <unistd.h>
#else
# include <io.h>
# define R_OK 04
# define access(f,m) _access((f),(m))
# ifndef R_OK
# define R_OK 04
# endif
# ifndef access
# define access(f,m) _access((f),(m))
# endif
#endif
typedef unsigned long long int u64;