[llvm] r221971 - SearchForAddressOfSymbol(): Disable 3 symbols, copysignf, fminf, and fmaxf, on msc17. *These were added in VS 2013*

NAKAMURA Takumi geek4civic at gmail.com
Thu Nov 13 20:53:55 PST 2014


Author: chapuni
Date: Thu Nov 13 22:53:55 2014
New Revision: 221971

URL: http://llvm.org/viewvc/llvm-project?rev=221971&view=rev
Log:
SearchForAddressOfSymbol(): Disable 3 symbols, copysignf, fminf, and fmaxf, on msc17. *These were added in VS 2013*

Modified:
    llvm/trunk/lib/Support/Windows/explicit_symbols.inc

Modified: llvm/trunk/lib/Support/Windows/explicit_symbols.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Windows/explicit_symbols.inc?rev=221971&r1=221970&r2=221971&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Windows/explicit_symbols.inc (original)
+++ llvm/trunk/lib/Support/Windows/explicit_symbols.inc Thu Nov 13 22:53:55 2014
@@ -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)





More information about the llvm-commits mailing list