File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ extern "C"
10
10
#cmakedefine RCUTILS_NO_FILESYSTEM
11
11
#cmakedefine RCUTILS_AVOID_DYNAMIC_ALLOCATION
12
12
#cmakedefine RCUTILS_NO_THREAD_SUPPORT
13
+ #cmakedefine RCUTILS_MICROROS
13
14
14
15
#ifdef __cplusplus
15
16
}
Original file line number Diff line number Diff line change @@ -52,6 +52,13 @@ rcutils_time_point_value_as_date_string(
52
52
char * str ,
53
53
size_t str_size )
54
54
{
55
+ #ifdef RCUTILS_MICROROS
56
+ (void )time_point ;
57
+ (void )str ;
58
+ (void )str_size ;
59
+
60
+ return RCUTILS_RET_ERROR ;
61
+ #else
55
62
RCUTILS_CHECK_ARGUMENT_FOR_NULL (time_point , RCUTILS_RET_INVALID_ARGUMENT );
56
63
RCUTILS_CHECK_ARGUMENT_FOR_NULL (str , RCUTILS_RET_INVALID_ARGUMENT );
57
64
if (0 == str_size ) {
@@ -99,6 +106,7 @@ rcutils_time_point_value_as_date_string(
99
106
}
100
107
101
108
return RCUTILS_RET_OK ;
109
+ #endif // RCUTILS_MICROROS
102
110
}
103
111
104
112
rcutils_ret_t
You can’t perform that action at this time.
0 commit comments