diff options
author | David Robillard <d@drobilla.net> | 2024-12-11 00:38:17 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-12-11 00:38:17 -0500 |
commit | c3caeb9305dea922bfe3ed71e006e567bb25ecb2 (patch) | |
tree | 9e436ea7d03ad33870b8b6c002047a92770bac72 /src/zix_config.h | |
parent | c5c23c3e27ab765c8df28088fbec5f41b89bb8b8 (diff) | |
download | zix-c3caeb9305dea922bfe3ed71e006e567bb25ecb2.tar.gz zix-c3caeb9305dea922bfe3ed71e006e567bb25ecb2.tar.bz2 zix-c3caeb9305dea922bfe3ed71e006e567bb25ecb2.zip |
Handle emscripten and MinGW stubs the same way
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 |