diff options
Diffstat (limited to 'src/zix_config.h')
-rw-r--r-- | src/zix_config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zix_config.h b/src/zix_config.h index abcd11e..460b712 100644 --- a/src/zix_config.h +++ b/src/zix_config.h @@ -116,7 +116,7 @@ // Classic UNIX: flock() # ifndef HAVE_FLOCK -# if defined(__APPLE__) || defined(__unix__) +# if (defined(__APPLE__) || defined(__unix__)) && !defined(__EMSCRIPTEN__) # define HAVE_FLOCK 1 # endif # endif |