gc::extend uses std::nothrow

This commit is contained in:
ValKmjolnir
2023-05-18 18:45:56 +08:00
parent 63ec070d15
commit afc8c54487
3 changed files with 17 additions and 17 deletions

View File

@@ -27,9 +27,7 @@ target_include_directories(nasock PRIVATE ${CMAKE_SOURCE_DIR})
add_executable(nasal main.cpp)
if(CMAKE_HOST_SYSTEM_NAME MATCHES "Windows")
message("Ignore linking dl lib")
else()
if(NOT CMAKE_HOST_SYSTEM_NAME MATCHES "Windows")
target_link_libraries(nasal dl)
endif()