SearchForAddressOfSymbol(): Disable 3 symbols, copysignf, fminf, and fmaxf, on msc17...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 14 Nov 2014 04:53:55 +0000 (04:53 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 14 Nov 2014 04:53:55 +0000 (04:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221971 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/Windows/explicit_symbols.inc

index 79e13a6..cd56b13 100644 (file)
@@ -85,7 +85,7 @@
   INLINE_DEF_FLOAT_SYMBOL(tanhf, 1)
 
   // These were added in VS 2013.
-#if (_MSC_VER < 1900)
+#if (1800 <= _MSC_VER && _MSC_VER < 1900)
   INLINE_DEF_FLOAT_SYMBOL(copysignf, 2)
   INLINE_DEF_FLOAT_SYMBOL(fminf, 2)
   INLINE_DEF_FLOAT_SYMBOL(fmaxf, 2)