native_posix: Fix undefined macro warning

Fix undefined macro warning if
CONFIG_NATIVE_POSIX_SLOWDOWN_TO_REAL_TIME is not selected

Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
This commit is contained in:
Alberto Escolar Piedras 2019-07-24 16:16:14 +02:00 committed by Kumar Gala
commit 0b0e7eeb15

View file

@ -73,7 +73,7 @@ static u64_t tick_p; /* Period of the ticker */
static s64_t silent_ticks;
static bool real_time_mode =
#if (CONFIG_NATIVE_POSIX_SLOWDOWN_TO_REAL_TIME)
#if defined(CONFIG_NATIVE_POSIX_SLOWDOWN_TO_REAL_TIME)
true;
#else
false;