diff options
author | MITSUNARI Shigeo <[email protected]> | 2015-01-19 10:35:35 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2015-01-19 10:35:35 +0900 |
commit | 151e253a2eb27937beec6a7a701142ea9bbf91ec (patch) | |
tree | 6e904fca4779daa9082e465ca4a5180c70af978d | |
parent | 099a51d66535921a511e355660c231d7acdfc27d (diff) | |
download | xbyak-151e253a2eb27937beec6a7a701142ea9bbf91ec.tar.gz xbyak-151e253a2eb27937beec6a7a701142ea9bbf91ec.zip |
define XBYAK64_WIN on 64-bit cygwin
-rw-r--r-- | xbyak/xbyak.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xbyak/xbyak.h b/xbyak/xbyak.h index 52dfa68..b08ae76 100644 --- a/xbyak/xbyak.h +++ b/xbyak/xbyak.h @@ -69,10 +69,10 @@ #include <stdint.h> #endif -#if defined(__x86_64__) && !defined(__MINGW64__) - #define XBYAK64_GCC -#elif defined(_WIN64) - #define XBYAK64_WIN +#if defined(_WIN64) || defined(__MINGW64__) || (defined(__CYGWIN__) && defined(__x86_64__)) + #define XBYAK64_WIN +#elif defined(__x86_64__) + #define XBYAK64_GCC #endif #if !defined(XBYAK64) && !defined(XBYAK32) #if defined(XBYAK64_GCC) || defined(XBYAK64_WIN) |