diff --git a/source/os/src/osSysinfo.c b/source/os/src/osSysinfo.c index 93eebd2437..f336b84e1e 100644 --- a/source/os/src/osSysinfo.c +++ b/source/os/src/osSysinfo.c @@ -504,9 +504,9 @@ int32_t taosGetCpuInstructions(char* sse42, char* avx, char* avx2, char* fma) { // Ref to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77756 __cpuid_fix(7u, eax, ebx, ecx, edx); *avx2 = (char) ((ebx & bit_AVX2) == bit_AVX2); - return 0; - #endif + + return 0; } int32_t taosGetTotalMemory(int64_t *totalKB) {