From 3755db04d288b514337cf29a00e6323b2c3f2632 Mon Sep 17 00:00:00 2001 From: Ruben Ayrapetyan Date: Thu, 12 Feb 2015 20:16:35 +0300 Subject: [PATCH] Remove references to __TARGET_* defines from Jerry core. --- src/jrt/jrt.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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. */