summaryrefslogtreecommitdiffstats
path: root/src/zix_config.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-12-11 00:38:17 -0500
committerDavid Robillard <d@drobilla.net>2024-12-11 00:38:17 -0500
commitc3caeb9305dea922bfe3ed71e006e567bb25ecb2 (patch)
tree9e436ea7d03ad33870b8b6c002047a92770bac72 /src/zix_config.h
parentc5c23c3e27ab765c8df28088fbec5f41b89bb8b8 (diff)
downloadzix-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.h2
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