File bcc-check_int128.patch of Package bcc.15364

Index: bcc-0.4.0/src/cc/frontends/b/type_helper.h
===================================================================
--- bcc-0.4.0.orig/src/cc/frontends/b/type_helper.h
+++ bcc-0.4.0/src/cc/frontends/b/type_helper.h
@@ -36,7 +36,9 @@ static inline size_t enum_to_size(const
     case UINT16_T: return sizeof(uint16_t);
     case UINT32_T: return sizeof(uint32_t);
     case UINT64_T: return sizeof(uint64_t);
+#ifdef __SIZEOF_INT128__
     case UINT128_T: return sizeof(__uint128_t);
+#endif
     default:
       return 0;
   }
openSUSE Build Service is sponsored by