Skip to content

Commit

Permalink
Removed some incomplete code for the Windows platform.
Browse files Browse the repository at this point in the history
Please, refer to the comment below.
ros2/rclcpp#2205 (comment)

Signed-off-by: Shoji Morita <[email protected]>
  • Loading branch information
smorita-esol committed Jul 12, 2023
1 parent de9fc87 commit cc3fc4c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 46 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ target_include_directories(${PROJECT_NAME} PUBLIC
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
target_sources(${PROJECT_NAME} PRIVATE
src/threads/posix_thread.cpp)
elseif(WIN32)
target_sources(${PROJECT_NAME} PRIVATE
src/threads/windows_thread.cpp)
endif()
if(WIN32)
target_compile_definitions(${PROJECT_NAME}
Expand Down
2 changes: 0 additions & 2 deletions include/rcpputils/threads.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

#if defined(__linux__)
#include "rcpputils/threads/posix/thread.hpp"
#elif defined(_WIN32)
#include "rcpputils/threads/windows/thread.hpp"
#else
#include "rcpputils/threads/std/thread.hpp"
#endif
Expand Down
22 changes: 0 additions & 22 deletions include/rcpputils/threads/windows/thread.hpp

This file was deleted.

19 changes: 0 additions & 19 deletions src/threads/windows_thread.cpp

This file was deleted.

0 comments on commit cc3fc4c

Please sign in to comment.