File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 118118 * initialization. This is done before option parsing, and before any thread
119119 * creation, so can be a file-level static. (Must come before #including
120120 * perl.h) */
121+ #include "config.h"
121122#ifdef DEBUGGING
122123static int debug_initialization = 0 ;
123124# define DEBUG_INITIALIZATION_set (v ) (debug_initialization = v)
@@ -127,9 +128,9 @@ static int debug_initialization = 0;
127128 * (or their corresponding unsigned type). So, we have to explicitly cast
128129 * __LINE__ to a particular integer type to pass it reliably to variadic
129130 * functions like (PerlIO_)printf, as below: */
130- # ifdef USE_LOCALE_THREADS
131+ # if defined( USE_ITHREADS ) && ! defined( NO_LOCALE_THREADS )
131132# define DEBUG_PRE_STMTS \
132- dSAVE_ERRNO; dTHX; PerlIO_printf(Perl_debug_log,"\n%s: %" LINE_Tf ": %p: ",\
133+ dSAVE_ERRNO; dTHX; PerlIO_printf(Perl_debug_log,"\n%s: %" LINE_Tf ": 0x %p: ",\
133134 __FILE__, (line_t)__LINE__, aTHX);
134135# else
135136# define DEBUG_PRE_STMTS \
You can’t perform that action at this time.
0 commit comments