File tree Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 38
38
using ::std::string;
39
39
using ::std::wstring;
40
40
41
- #ifdef _MSC_VER
41
+ #ifdef _WIN32
42
42
#include < Windows.h>
43
43
#else
44
44
#if defined(__APPLE__) && defined(__MACH__)
@@ -60,7 +60,7 @@ enum class ResumeResult
60
60
YIELD = 0
61
61
};
62
62
63
- #ifdef _MSC_VER
63
+ #ifdef _WIN32
64
64
65
65
struct Routine
66
66
{
Original file line number Diff line number Diff line change @@ -12,9 +12,8 @@ if(MSVC)
12
12
add_definitions (-D_CRT_SECURE_NO_WARNINGS )
13
13
endif ()
14
14
15
- if ( MINGW )
16
- add_definitions (-DBT_NO_COROUTINES )
17
- endif ()
15
+
16
+ #add_definitions(-DBT_NO_COROUTINES)
18
17
19
18
set (CMAKE_POSITION_INDEPENDENT_CODE ON )
20
19
Original file line number Diff line number Diff line change @@ -35,10 +35,8 @@ target_link_libraries(t07_wrap_legacy ${BEHAVIOR_TREE_LIBRARY} )
35
35
add_executable (t08_additional_node_args t08_additional_node_args.cpp )
36
36
target_link_libraries (t08_additional_node_args ${BEHAVIOR_TREE_LIBRARY} )
37
37
38
- if (NOT MINGW )
39
- add_executable (t09_async_actions_coroutines t09_async_actions_coroutines.cpp )
40
- target_link_libraries (t09_async_actions_coroutines ${BEHAVIOR_TREE_LIBRARY} )
41
- endif ()
38
+ add_executable (t09_async_actions_coroutines t09_async_actions_coroutines.cpp )
39
+ target_link_libraries (t09_async_actions_coroutines ${BEHAVIOR_TREE_LIBRARY} )
42
40
43
41
add_executable (t10_include_trees t10_include_trees.cpp )
44
42
target_link_libraries (t10_include_trees ${BEHAVIOR_TREE_LIBRARY} dummy_nodes )
You can’t perform that action at this time.
0 commit comments