refactor(deps): from *.cpp to *.c
This commit is contained in:
2
deps/timeout/CMakeLists.txt
vendored
2
deps/timeout/CMakeLists.txt
vendored
@@ -1,2 +1,2 @@
|
||||
add_library(timeout STATIC timeout.cpp timeout-bitops.cpp)
|
||||
add_library(timeout STATIC timeout.c timeout-bitops.c)
|
||||
target_include_directories(timeout PUBLIC ${CMAKE_CURRENT_LIST_DIR})
|
||||
@@ -136,7 +136,7 @@
|
||||
#define WHEEL_MASK (WHEEL_LEN - 1)
|
||||
#define TIMEOUT_MAX ((TIMEOUT_C(1) << (WHEEL_BIT * WHEEL_NUM)) - 1)
|
||||
|
||||
#include "timeout-bitops.cpp"
|
||||
#include "timeout-bitops.c"
|
||||
|
||||
#if WHEEL_BIT == 6
|
||||
#define ctz(n) ctz64(n)
|
||||
Reference in New Issue
Block a user