Skip to content

Commit d68795b

Browse files
Try fixing windows again
1 parent 934a430 commit d68795b

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

libcxx/src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ if (LIBCXX_ENABLE_SHARED)
254254
list(APPEND LIBCXX_BUILD_TARGETS "cxx_shared")
255255
endif()
256256

257-
if(WIN32 AND NOT (${CMAKE_CXX_COMPILER_FRONTEND_VARIANT} STREQUAL "MSVC"))
257+
if(WIN32)
258258
string(APPEND link_libraries " ${CMAKE_LINK_LIBRARY_FLAG}dbghelp")
259259
string(APPEND link_libraries " ${CMAKE_LINK_LIBRARY_FLAG}psapi")
260260
endif()

libcxx/src/stacktrace/windows_impl.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@
1717
# include <psapi.h>
1818
# include <stacktrace>
1919

20-
# if defined(_MSC_VER)
21-
# pragma comment(lib, "dbghelp.lib")
22-
# pragma comment(lib, "psapi.lib")
23-
# endif
24-
2520
_LIBCPP_BEGIN_NAMESPACE_STD
2621
namespace __stacktrace {
2722

0 commit comments

Comments
 (0)