commit | 3c3e3f22a429bc6c0bb4db2faf130e275a6c44f2 | [log] [tgz] |
---|---|---|
author | Christian Huitema <huitema@huitema.net> | Tue Jun 23 15:49:15 2020 -0700 |
committer | Christian Huitema <huitema@huitema.net> | Tue Jun 23 15:49:15 2020 -0700 |
tree | 05089e63c79607221d55903b1e99e207316277ad | |
parent | 81605438a57eaaddb0347b94beb15eba771f10a9 [diff] |
Do not use __cpuid() on Linux
diff --git a/lib/fusion.c b/lib/fusion.c index 41e7bd3..b86205f 100644 --- a/lib/fusion.c +++ b/lib/fusion.c
@@ -984,8 +984,7 @@ sizeof(struct aesgcm_context), aes256gcm_setup}; -/* #ifdef _WINDOWS */ -#if 1 +#ifdef _WINDOWS /** * ptls_fusion_is_supported_by_cpu: * Check that the CPU has extended instructions for PCMUL, AES and AVX2.