x86_64-xlate.pl update, engage x86_64 assembler in mingw64.
[openssl.git] / crypto / bn / asm / x86_64-gcc.c
index c4d941d0b4c7f1b36d59935abcd432f44d49f1d8..825f947e3e5762467b96029e6c8e59cd216a88df 100644 (file)
@@ -1,4 +1,4 @@
-#ifdef __SUNPRO_C
+#if !(defined(__GNUC__) && __GNUC__>=2)
 # include "../bn_asm.c"        /* kind of dirty hack for Sun Studio */
 #else
 /*
  *    machine.
  */
 
+#ifdef _WIN64
+#define BN_ULONG unsigned long long
+#else
 #define BN_ULONG unsigned long
+#endif
 
 /*
  * "m"(a), "+m"(r)     is the way to favor DirectPath ยต-code;