projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86_64-xlate.pl update, engage x86_64 assembler in mingw64.
[openssl.git]
/
crypto
/
bn
/
asm
/
x86_64-gcc.c
diff --git
a/crypto/bn/asm/x86_64-gcc.c
b/crypto/bn/asm/x86_64-gcc.c
index c4d941d0b4c7f1b36d59935abcd432f44d49f1d8..825f947e3e5762467b96029e6c8e59cd216a88df 100644
(file)
--- a/
crypto/bn/asm/x86_64-gcc.c
+++ b/
crypto/bn/asm/x86_64-gcc.c
@@
-1,4
+1,4
@@
-#if
def __SUNPRO_C
+#if
!(defined(__GNUC__) && __GNUC__>=2)
# include "../bn_asm.c" /* kind of dirty hack for Sun Studio */
#else
/*
# include "../bn_asm.c" /* kind of dirty hack for Sun Studio */
#else
/*
@@
-54,7
+54,11
@@
* machine.
*/
* machine.
*/
+#ifdef _WIN64
+#define BN_ULONG unsigned long long
+#else
#define BN_ULONG unsigned long
#define BN_ULONG unsigned long
+#endif
/*
* "m"(a), "+m"(r) is the way to favor DirectPath µ-code;
/*
* "m"(a), "+m"(r) is the way to favor DirectPath µ-code;