Skip to content

Commit

Permalink
win32: fix detection for mingw32
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamhm committed Aug 31, 2024
1 parent f779a91 commit d2b8d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lprefix.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ LUAMOD_API int luaopen_compat53_string (lua_State *L) {
# endif

/* choose which popen implementation to pick */
# if defined(_MSC_VER)
# if (defined(_WIN32) && !defined(__CYGWIN__))
# define LUA_USE_WINDOWS 1
# endif
# if (!defined(LUA_USE_WINDOWS) && !defined(LUA_USE_POSIX)) && \
Expand Down

0 comments on commit d2b8d81

Please sign in to comment.