CRYPTO-117: Define WINDOWS when _WIN64 and CYGWIN defined
Project: http://git-wip-us.apache.org/repos/asf/commons-crypto/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-crypto/commit/6488aa6e Tree: http://git-wip-us.apache.org/repos/asf/commons-crypto/tree/6488aa6e Diff: http://git-wip-us.apache.org/repos/asf/commons-crypto/diff/6488aa6e Branch: refs/heads/CRYPTO-1.0.0 Commit: 6488aa6e9a617b0f27af6c1c4a8febd4540f37b1 Parents: 514dc16 Author: Sun Dapeng <s...@apache.org> Authored: Tue Jul 19 17:32:20 2016 +0800 Committer: Sun Dapeng <s...@apache.org> Committed: Tue Jul 19 17:32:20 2016 +0800 ---------------------------------------------------------------------- .../native/org/apache/commons/crypto/org_apache_commons_crypto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-crypto/blob/6488aa6e/src/main/native/org/apache/commons/crypto/org_apache_commons_crypto.h ---------------------------------------------------------------------- diff --git a/src/main/native/org/apache/commons/crypto/org_apache_commons_crypto.h b/src/main/native/org/apache/commons/crypto/org_apache_commons_crypto.h index 4671314..1edc4ee 100644 --- a/src/main/native/org/apache/commons/crypto/org_apache_commons_crypto.h +++ b/src/main/native/org/apache/commons/crypto/org_apache_commons_crypto.h @@ -24,7 +24,7 @@ #if !defined ORG_APACHE_COMMONS_CRYPTO_H #define ORG_APACHE_COMMONS_CRYPTO_H -#if defined(_WIN32) +#if defined(_WIN32) || defined(_WIN64) || defined(__CYGWIN__) #undef UNIX #define WINDOWS #else