summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2019-11-01 09:20:51 +0200
committerMartin Storsjö <martin@martin.st>2019-11-01 09:20:51 +0200
commitec630194fe64e9e304487040e808d0696a4f1895 (patch)
treec65773b9d9f4b97398a3e0c321d16e76f4841c98 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent19e7f8a21d62d0a6ae8a1bbecb232bd9d520555b (diff)
downloadbcm5719-llvm-ec630194fe64e9e304487040e808d0696a4f1895.tar.gz
bcm5719-llvm-ec630194fe64e9e304487040e808d0696a4f1895.zip
[compiler-rt] [profile] Fix building for MinGW after d889d1efefe9f
This commit added use of a Windows API in InstrProfilingPort.h. When _MSC_VER is defined (for MSVC), windows.h is already included earlier in the same header (for atomics), but MinGW, the gcc atomics builtins are used instead. Therefore explicitly include windows.h here, where the API is used.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud