It is more readable for this to be next to the __builtin_ctzl() check,
since both are used by the accelerated progressive Huffman code.
check_c_source_compiles("int main(int argc, char **argv) { unsigned long a = argc; return __builtin_ctzl(a); }"
HAVE_BUILTIN_CTZL)
endif()
+if(MSVC)
+ check_include_files("intrin.h" HAVE_INTRIN_H)
+endif()
if(UNIX)
# Check for headers
endif()
if(MSVC)
- check_include_files("intrin.h" HAVE_INTRIN_H)
set(INLINE_OPTIONS "__inline;inline")
else()
set(INLINE_OPTIONS "__inline__;inline")