Skip to content

Commit 47d730d

Browse files
committed
perl.h: Combine two preprocessor blocks
They have the same conditional, and the next commit will change that conditional and want it to apply to both.
1 parent 8e28d19 commit 47d730d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

perl.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5107,13 +5107,9 @@ Gid_t getegid (void);
51075107
: Perl_croak_nocontext("Assertion %s failed:" \
51085108
" file \"" __FILE__ "\", line %" LINE_Tf, \
51095109
STRINGIFY(what), (line_t) __LINE__))
5110+
# define assert_(what) assert(what),
51105111
#else
51115112
# define Perl_assert(what) ((void) 0)
5112-
#endif
5113-
5114-
#ifdef DEBUGGING
5115-
# define assert_(what) assert(what),
5116-
#else
51175113
# define assert_(what)
51185114
#endif
51195115

0 commit comments

Comments
 (0)