diff --git a/src/jrt/jrt.h b/src/jrt/jrt.h index 06a9d1bd7..a1ba5a7cd 100644 --- a/src/jrt/jrt.h +++ b/src/jrt/jrt.h @@ -103,7 +103,7 @@ extern void __noreturn jerry_unimplemented (const char *comment, const char *fil */ template extern void jerry_ref_unused_variables (const values & ... unused); -#if !defined (JERRY_NDEBUG) && defined (__TARGET_HOST) +#ifndef JERRY_NDEBUG #define JERRY_UNREACHABLE() \ do \ { \ @@ -125,7 +125,7 @@ template extern void jerry_ref_unused_variables (const value jerry_ref_unused_variables (0, __VA_ARGS__); \ } \ } while (0) -#else /* !JERRY_NDEBUG && __TARGET_HOST */ +#else /* !JERRY_NDEBUG */ #define JERRY_UNREACHABLE() \ do \ { \ @@ -147,7 +147,8 @@ template extern void jerry_ref_unused_variables (const value jerry_ref_unused_variables (0, __VA_ARGS__); \ } \ } while (0) -#endif /* JERRY_NDEBUG || !TARGET_HOST */ +#endif /* JERRY_NDEBUG */ + /** * Conditions' likeliness, unlikeliness. */