aboutsummaryrefslogtreecommitdiff
path: root/ext/lsm1/lsm_unix.c
diff options
context:
space:
mode:
authordan <dan@noemail.net>2017-06-01 16:13:57 +0000
committerdan <dan@noemail.net>2017-06-01 16:13:57 +0000
commit38d6985509bb43268ab7c341e88cde383c49f504 (patch)
tree6d4938feaa392410655f94326c0293925f025706 /ext/lsm1/lsm_unix.c
parent16b7dcc717e9b28860e7b911e932bea24396b0bf (diff)
downloadsqlite-38d6985509bb43268ab7c341e88cde383c49f504.tar.gz
sqlite-38d6985509bb43268ab7c341e88cde383c49f504.zip
Add test code for LSM to the ext/lsm1/lsm-test directory.
FossilOrigin-Name: bb7436e84a315baf05f00e6cab396017e3f287ea404d32e0cc4f389fa1194dec
Diffstat (limited to 'ext/lsm1/lsm_unix.c')
-rw-r--r--ext/lsm1/lsm_unix.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/lsm1/lsm_unix.c b/ext/lsm1/lsm_unix.c
index 6ce23d72d..86762a781 100644
--- a/ext/lsm1/lsm_unix.c
+++ b/ext/lsm1/lsm_unix.c
@@ -12,6 +12,9 @@
**
** Unix-specific run-time environment implementation for LSM.
*/
+
+#ifndef WIN32
+
#if defined(__GNUC__) || defined(__TINYC__)
/* workaround for ftruncate() visibility on gcc. */
# ifndef _XOPEN_SOURCE
@@ -739,3 +742,5 @@ lsm_env *lsm_default_env(void){
};
return &posix_env;
}
+
+#endif