SDL: fixed 64-bit macro in OpenSSL config header
This commit is contained in:
16
project/jni/openssl/opensslconf.h.patch
Normal file
16
project/jni/openssl/opensslconf.h.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
diff -u -r include/openssl/opensslconf.h include/openssl/opensslconf.h
|
||||
--- include/openssl/opensslconf.h 2018-06-27 21:41:35.243331385 +0300
|
||||
+++ include/openssl/opensslconf.h 2018-06-27 22:00:56.341328455 +0300
|
||||
@@ -157,8 +157,10 @@
|
||||
#if !defined(OPENSSL_SYS_UEFI)
|
||||
# define BN_LLONG
|
||||
/* Only one for the following should be defined */
|
||||
-# undef SIXTY_FOUR_BIT_LONG
|
||||
-# undef SIXTY_FOUR_BIT
|
||||
+#ifdef __LP64__
|
||||
+# define SIXTY_FOUR_BIT_LONG
|
||||
+# define SIXTY_FOUR_BIT
|
||||
+#else
|
||||
# define THIRTY_TWO_BIT
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user