[PATCH] D40910: [cmake] Remove unnecessary header include in atomics check

Shoaib Meenai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 6 10:33:49 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL319917: [cmake] Remove unnecessary header include in atomics check (authored by smeenai).

Repository:
  rL LLVM

https://reviews.llvm.org/D40910

Files:
  llvm/trunk/cmake/modules/CheckAtomic.cmake


Index: llvm/trunk/cmake/modules/CheckAtomic.cmake
===================================================================
--- llvm/trunk/cmake/modules/CheckAtomic.cmake
+++ llvm/trunk/cmake/modules/CheckAtomic.cmake
@@ -81,7 +81,6 @@
 ## assumes C++11 <atomic> works.
 CHECK_CXX_SOURCE_COMPILES("
 #ifdef _MSC_VER
-#include <Intrin.h> /* Workaround for PR19898. */
 #include <windows.h>
 #endif
 int main() {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40910.125763.patch
Type: text/x-patch
Size: 405 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171206/d14b9a6f/attachment.bin>


More information about the llvm-commits mailing list