archivers/7-zip: fix build on powerpc*
../../../../C/AesOpt.c:848:1: error: variable has incomplete type 'void' AES_COMPAT_STUB (AesCbc_Encode) ^ ../../../../C/AesOpt.c:844:5: note: expanded from macro 'AES_COMPAT_STUB' AES_FUNC_START(name); \ ^ ../../../../C/AesOpt.c:841:10: note: expanded from macro 'AES_FUNC_START' void MY_FAST_CALL name(UInt32 *p, Byte *data, size_t numBlocks) \ ^
This commit is contained in:
parent
5c74dfd99f
commit
6ba4097fb6
|
@ -1,4 +1,4 @@
|
|||
--- C/AesOpt.c.orig 2023-08-31 09:13:13 UTC
|
||||
--- C/AesOpt.c.orig 2023-09-05 00:20:25 UTC
|
||||
+++ C/AesOpt.c
|
||||
@@ -554,7 +554,7 @@ VAES_COMPAT_STUB (AesCtr_Code_HW)
|
||||
#endif // ! USE_INTEL_VAES
|
||||
|
@ -24,7 +24,7 @@
|
|||
+#define AES_TYPE_data Byte
|
||||
+
|
||||
+#define AES_FUNC_START(name) \
|
||||
+ void MY_FAST_CALL name(UInt32 *p, Byte *data, size_t numBlocks) \
|
||||
+ void name(UInt32 *p, Byte *data, size_t numBlocks) \
|
||||
+
|
||||
+#define AES_COMPAT_STUB(name) \
|
||||
+ AES_FUNC_START(name); \
|
||||
|
|
Loading…
Reference in New Issue