[libcxx-commits] [PATCH] D96339: Build thread_win32.cpp only if LIBCXX_HAS_PTHREAD_API is not set.
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Feb 16 07:04:09 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0f5020af7f34: [libc++] Build thread_win32.cpp only if LIBCXX_HAS_PTHREAD_API is not set (authored by ColinFinck, committed by ldionne).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96339/new/
https://reviews.llvm.org/D96339
Files:
libcxx/src/CMakeLists.txt
Index: libcxx/src/CMakeLists.txt
===================================================================
--- libcxx/src/CMakeLists.txt
+++ libcxx/src/CMakeLists.txt
@@ -77,8 +77,13 @@
list(APPEND LIBCXX_SOURCES
support/win32/locale_win32.cpp
support/win32/support.cpp
- support/win32/thread_win32.cpp
)
+
+ if (NOT LIBCXX_HAS_PTHREAD_API)
+ list(APPEND LIBCXX_SOURCES
+ support/win32/thread_win32.cpp
+ )
+ endif()
elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "SunOS")
list(APPEND LIBCXX_SOURCES
support/solaris/mbsnrtowcs.inc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96339.324002.patch
Type: text/x-patch
Size: 562 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210216/b9cf89a9/attachment.bin>
More information about the libcxx-commits
mailing list