mirror of
https://github.com/janet-lang/janet
synced 2025-11-06 10:33:03 +00:00
Add :mingw value when getting the OS setting when compiled with mingw.
This commit is contained in:
@@ -97,6 +97,11 @@ extern "C" {
|
||||
#define JANET_MSVC
|
||||
#endif
|
||||
|
||||
/* Check Mingw 32-bit and 64-bit */
|
||||
#ifdef __MINGW32__
|
||||
#define JANET_MINGW
|
||||
#endif
|
||||
|
||||
/* Check 64-bit vs 32-bit */
|
||||
#if ((defined(__x86_64__) || defined(_M_X64)) \
|
||||
&& (defined(JANET_POSIX) || defined(JANET_WINDOWS))) \
|
||||
|
||||
Reference in New Issue
Block a user