Revert "tdf#127471 Remove font width scaling hack"
[LibreOffice.git] / external / glm / clang-cl.patch.0
blob44713a1968c537a5b4608982a129a68812eda368
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"
7  #if(GLM_ARCH & GLM_ARCH_X86 && GLM_COMPILER & GLM_COMPILER_VC)
8  #      include <intrin.h>
9 +#if !defined __clang__^M
10  #      pragma intrinsic(_BitScanReverse)
11 +#endif
12  #endif//(GLM_ARCH & GLM_ARCH_X86 && GLM_COMPILER & GLM_COMPILER_VC)
13  #include <limits>