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"
1010#cmakedefine RCUTILS_NO_FILESYSTEM
1111#cmakedefine RCUTILS_AVOID_DYNAMIC_ALLOCATION
1212#cmakedefine RCUTILS_NO_THREAD_SUPPORT
13+ #cmakedefine RCUTILS_MICROROS
1314
1415#ifdef __cplusplus
1516}
Original file line number Diff line number Diff line change @@ -52,6 +52,13 @@ rcutils_time_point_value_as_date_string(
5252 char * str ,
5353 size_t str_size )
5454{
55+ #ifdef RCUTILS_MICROROS
56+ (void )time_point ;
57+ (void )str ;
58+ (void )str_size ;
59+
60+ return RCUTILS_RET_ERROR ;
61+ #else
5562 RCUTILS_CHECK_ARGUMENT_FOR_NULL (time_point , RCUTILS_RET_INVALID_ARGUMENT );
5663 RCUTILS_CHECK_ARGUMENT_FOR_NULL (str , RCUTILS_RET_INVALID_ARGUMENT );
5764 if (0 == str_size ) {
@@ -99,6 +106,7 @@ rcutils_time_point_value_as_date_string(
99106 }
100107
101108 return RCUTILS_RET_OK ;
109+ #endif // RCUTILS_MICROROS
102110}
103111
104112rcutils_ret_t
You can’t perform that action at this time.
0 commit comments