1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

For lsmtest, use a more portable means of setting open() files to binary.

FossilOrigin-Name: aea6e0ffd33f41482f1b53b9f21b77add2865abda4eec1d9ee197177f74f43d0
This commit is contained in:
mistachkin
2017-07-07 21:15:24 +00:00
parent 1d91e9f26a
commit 85bd1cd52b
6 changed files with 18 additions and 18 deletions

View File

@ -15,6 +15,10 @@
extern "C" {
#endif
#ifndef _O_BINARY
# define _O_BINARY (0)
#endif
#ifdef _WIN32
# include "windows.h"
# define gettimeofday win32GetTimeOfDay