From c3caeb9305dea922bfe3ed71e006e567bb25ecb2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 11 Dec 2024 00:38:17 -0500 Subject: Handle emscripten and MinGW stubs the same way --- src/zix_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/zix_config.h') 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 -- cgit v1.2.1