You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by sd...@apache.org on 2016/07/19 09:37:15 UTC

commons-crypto git commit: CRYPTO-117: Define WINDOWS when _WIN64 and CYGWIN defined

Repository: commons-crypto
Updated Branches:
  refs/heads/master 514dc16e9 -> 6488aa6e9


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/master
Commit: 6488aa6e9a617b0f27af6c1c4a8febd4540f37b1
Parents: 514dc16
Author: Sun Dapeng <sd...@apache.org>
Authored: Tue Jul 19 17:32:20 2016 +0800
Committer: Sun Dapeng <sd...@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