aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2024-08-31 01:15:56 -0300
committerHisham Muhammad <hisham@gobolinux.org>2024-08-31 01:15:56 -0300
commitd2b8d81ddc597cc7edb735bf354450e6bf95db62 (patch)
treeab319a03d5268c4634fc8d10ff8e58b290fd1b21
parentf779a91ec20ad16031de8dba9f8e194b3c90b22e (diff)
downloadlua-compat-5.3-d2b8d81ddc597cc7edb735bf354450e6bf95db62.tar.gz
lua-compat-5.3-d2b8d81ddc597cc7edb735bf354450e6bf95db62.tar.bz2
lua-compat-5.3-d2b8d81ddc597cc7edb735bf354450e6bf95db62.zip
win32: fix detection for mingw32
-rw-r--r--lprefix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lprefix.h b/lprefix.h
index 8ad5a4d..0f83906 100644
--- a/lprefix.h
+++ b/lprefix.h
@@ -195,7 +195,7 @@ LUAMOD_API int luaopen_compat53_string (lua_State *L) {
195# endif 195# endif
196 196
197/* choose which popen implementation to pick */ 197/* choose which popen implementation to pick */
198# if defined(_MSC_VER) 198# if (defined(_WIN32) && !defined(__CYGWIN__))
199# define LUA_USE_WINDOWS 1 199# define LUA_USE_WINDOWS 1
200# endif 200# endif
201# if (!defined(LUA_USE_WINDOWS) && !defined(LUA_USE_POSIX)) && \ 201# if (!defined(LUA_USE_WINDOWS) && !defined(LUA_USE_POSIX)) && \