diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2024-08-31 01:15:56 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2024-08-31 01:15:56 -0300 |
commit | d2b8d81ddc597cc7edb735bf354450e6bf95db62 (patch) | |
tree | ab319a03d5268c4634fc8d10ff8e58b290fd1b21 | |
parent | f779a91ec20ad16031de8dba9f8e194b3c90b22e (diff) | |
download | lua-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) && \ |