Fixing MSVC after r206622?
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 18 Apr 2014 17:38:01 +0000 (17:38 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 18 Apr 2014 17:38:01 +0000 (17:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206626 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/BlockFrequencyInfoImpl.cpp

index f267a9cdc5c14d012ae3e5602e63aeba336a00c4..39b4ea517b7f98ef45c64c355289fb2c6e2c6cae 100644 (file)
@@ -24,8 +24,10 @@ using namespace llvm;
 // PositiveFloat implementation.
 //
 //===----------------------------------------------------------------------===//
+#ifndef _MSC_VER
 const int PositiveFloatBase::MaxExponent;
 const int PositiveFloatBase::MinExponent;
+#endif
 
 static void appendDigit(std::string &Str, unsigned D) {
   assert(D < 10);