File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -155,6 +155,8 @@ static enum rcutils_get_env_retval rcutils_get_env_var_zero_or_one(
155
155
const char * one_semantic )
156
156
{
157
157
const char * env_var_value = NULL ;
158
+ (void )one_semantic ;
159
+ (void )zero_semantic ;
158
160
const char * ret_str = rcutils_get_env (name , & env_var_value );
159
161
if (NULL != ret_str ) {
160
162
RCUTILS_SET_ERROR_MSG_WITH_FORMAT_STRING (
@@ -1268,6 +1270,12 @@ rcutils_ret_t rcutils_logging_format_message(
1268
1270
# define COLOR_GREEN 2
1269
1271
# define COLOR_YELLOW 6
1270
1272
# define IS_STREAM_A_TTY (stream ) (_isatty(_fileno(stream)) != 0)
1273
+ #elif defined(__ZEPHYR__ )
1274
+ # define COLOR_NORMAL 0
1275
+ # define COLOR_RED 0
1276
+ # define COLOR_GREEN 0
1277
+ # define COLOR_YELLOW 0
1278
+ # define IS_STREAM_A_TTY (stream ) false
1271
1279
#else
1272
1280
# define COLOR_NORMAL "\033[0m"
1273
1281
# define COLOR_RED "\033[31m"
You can’t perform that action at this time.
0 commit comments