diff options
Diffstat (limited to 'ext/lsm1/lsm_unix.c')
-rw-r--r-- | ext/lsm1/lsm_unix.c | 5 |
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 |