forked from pool/ibmswtpm2
- Fix ppc32 build. + ibmswtpm2-fix-ppc32.patch OBS-URL: https://build.opensuse.org/request/show/831111 OBS-URL: https://build.opensuse.org/package/show/security/ibmswtpm2?expand=0&rev=24
14 lines
708 B
Diff
14 lines
708 B
Diff
diff -ur ibmswtpm2-1637.orig/src/LibSupport.h ibmswtpm2-1637/src/LibSupport.h
|
|
--- ibmswtpm2-1637.orig/src/LibSupport.h 2020-05-27 21:35:29.000000000 +0200
|
|
+++ ibmswtpm2-1637/src/LibSupport.h 2020-09-01 14:32:06.752690872 +0200
|
|
@@ -75,7 +75,8 @@
|
|
# define RADIX_BITS 64
|
|
# elif defined(__i386__) || defined(__i386) || defined(i386) \
|
|
|| defined(_WIN32) || defined(_M_IX86) \
|
|
- || defined(_M_ARM) || defined(__arm__) || defined(__thumb__)
|
|
+ || defined(_M_ARM) || defined(__arm__) || defined(__thumb__) \
|
|
+ || defined(__powerpc__)
|
|
# define RADIX_BITS 32
|
|
# else
|
|
# error Unable to determine RADIX_BITS from compiler environment
|