diff options
Diffstat (limited to 'generic/tclPkgConfig.c')
| -rw-r--r-- | generic/tclPkgConfig.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclPkgConfig.c b/generic/tclPkgConfig.c index 4eed372..466d535 100644 --- a/generic/tclPkgConfig.c +++ b/generic/tclPkgConfig.c @@ -22,7 +22,7 @@ * - TCL_COMPILE_STATS OSCMa bytecode compiler statistics. * * - TCL_CFG_DO64BIT NSCMdt tcl is compiled for a 64bit system. - * - TCL_CFG_DEBUG NSCMdt tcl is compiled with symbol info on. + * - NDEBUG NSCMdt tcl is compiled with symbol info off. * - TCL_CFG_OPTIMIZED NSCMdt tcl is compiled with cc optimizations on * - TCL_CFG_PROFILED NSCMdt tcl is compiled with profiling info. * @@ -70,7 +70,7 @@ # define CFG_64 "0" #endif -#ifdef TCL_CFG_DEBUG +#ifndef NDEBUG # define CFG_DEBUG "1" #else # define CFG_DEBUG "0" @@ -88,7 +88,7 @@ # define CFG_PROFILED "0" #endif -static Tcl_Config cfg[] = { +static Tcl_Config const cfg[] = { {"debug", CFG_DEBUG}, {"threaded", CFG_THREADED}, {"profiled", CFG_PROFILED}, @@ -120,7 +120,7 @@ static Tcl_Config cfg[] = { void TclInitEmbeddedConfigurationInformation( - Tcl_Interp* interp) /* Interpreter the configuration command is + Tcl_Interp *interp) /* Interpreter the configuration command is * registered in. */ { Tcl_RegisterConfig(interp, "tcl", cfg, TCL_CFGVAL_ENCODING); |
