Rework usages/naming of configuration macros [part 3] (#2927)
Reworked the JERRY_DEBUGGER macro to be a 0/1 switch. JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
#include "debugger-sha1.h"
|
||||
#include "jext-common.h"
|
||||
|
||||
#ifdef JERRY_DEBUGGER
|
||||
#if defined (JERRY_DEBUGGER) && (JERRY_DEBUGGER == 1)
|
||||
|
||||
/**
|
||||
* SHA-1 context structure.
|
||||
@@ -366,4 +366,4 @@ jerryx_debugger_compute_sha1 (const uint8_t *source1_p, /**< first part of the i
|
||||
jerryx_sha1_finish (&sha1_context, destination_p);
|
||||
} /* jerryx_debugger_compute_sha1 */
|
||||
|
||||
#endif /* JERRY_DEBUGGER */
|
||||
#endif /* defined (JERRY_DEBUGGER) && (JERRY_DEBUGGER == 1) */
|
||||
|
||||
Reference in New Issue
Block a user