summaryrefslogtreecommitdiff
path: root/libc/misc/regex/regex_internal.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/regex/regex_internal.c')
-rw-r--r--libc/misc/regex/regex_internal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/regex/regex_internal.c b/libc/misc/regex/regex_internal.c
index 493985217..de640e08d 100644
--- a/libc/misc/regex/regex_internal.c
+++ b/libc/misc/regex/regex_internal.c
@@ -602,7 +602,7 @@ re_string_reconstruct (re_string_t *pstr, int idx, int eflags)
pstr->valid_len - offset);
pstr->valid_len -= offset;
pstr->valid_raw_len -= offset;
-#if DEBUG
+#ifdef DEBUG
assert (pstr->valid_len > 0);
#endif
}