int wrap = 1;
static const char my_version[] = PREFIX2(VERSION);
-#if defined(X86_FEATURES)
- x86_check_features();
-#elif defined(ARM_FEATURES)
- arm_check_features();
-#endif
+ cpu_check_features();
if (version == NULL || version[0] != my_version[0] || stream_size != sizeof(PREFIX3(stream))) {
return Z_VERSION_ERROR;
int32_t ret;
struct inflate_state *state;
-#if defined(X86_FEATURES)
- x86_check_features();
-#elif defined(ARM_FEATURES)
- arm_check_features();
-#endif
+ cpu_check_features();
if (version == NULL || version[0] != PREFIX2(VERSION)[0] || stream_size != (int)(sizeof(PREFIX3(stream))))
return Z_VERSION_ERROR;