Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / external / glm / clang-cl.patch.0
blobe5536e145094e2f1f296e242e00402337da979f1
1 # "#pragma intrinsic" not (yet?) handled in the "if (LangOpts.MicrosoftExt)"
2 # block in Preprocessor::RegisterBuiltinPragmas in Clang's lib/Lex/Pragma.cpp:
3 --- glm/detail/func_integer.inl
4 +++ glm/detail/func_integer.inl
5 @@ -3,7 +3,9 @@
6  #include "_vectorize.hpp"\r
7  #if(GLM_ARCH & GLM_ARCH_X86 && GLM_COMPILER & GLM_COMPILER_VC)\r
8  #      include <intrin.h>\r
9 +#if !defined __clang__\r
10  #      pragma intrinsic(_BitScanReverse)\r
11 +#endif\r
12  #endif//(GLM_ARCH & GLM_ARCH_X86 && GLM_COMPILER & GLM_COMPILER_VC)\r
13  #include <limits>\r
14  \r