diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-16 09:58:26 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-16 09:58:26 (GMT) |
commit | 3bb6d870416fa3e858f780bf958bd188d13d58a2 (patch) | |
tree | 71f81c214601bb092fc71583a9b9a05a4938b58a /win | |
parent | 55804e86ba499482718af840b92ccf663eec5151 (diff) | |
parent | 3db744b60506ba65731f996d7e3dc5224d232bc9 (diff) | |
download | tcl-3bb6d870416fa3e858f780bf958bd188d13d58a2.zip tcl-3bb6d870416fa3e858f780bf958bd188d13d58a2.tar.gz tcl-3bb6d870416fa3e858f780bf958bd188d13d58a2.tar.bz2 |
Allow win32 build with -DTCL_NO_DEPRECATED, just as the UNIX build, off by default.
Define Tcl_EvalObj and Tcl_GlobalEvalObj as macros, even when TCL_NO_DEPRECATED is defined, so Tk can benefit from it too.
Diffstat (limited to 'win')
-rw-r--r-- | win/Makefile.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/win/Makefile.in b/win/Makefile.in index d0e14c6..8582600 100644 --- a/win/Makefile.in +++ b/win/Makefile.in @@ -82,6 +82,11 @@ CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@ #CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE) CFLAGS = @CFLAGS@ @CFLAGS_DEFAULT@ -DUNICODE -D_UNICODE +# To compile without backward compatibility and deprecated code uncomment the +# following +NO_DEPRECATED_FLAGS = +#NO_DEPRECATED_FLAGS = -DTCL_NO_DEPRECATED + # To enable compilation debugging reverse the comment characters on one of the # following lines. COMPILE_DEBUG_FLAGS = @@ -187,7 +192,7 @@ COPY = cp CC_SWITCHES = ${CFLAGS} ${CFLAGS_WARNING} ${TCL_SHLIB_CFLAGS} -I"${ZLIB_DIR}" \ -I"${GENERIC_DIR_NATIVE}" -DTCL_TOMMATH -DMP_PREC=4 -I"${TOMMATH_DIR_NATIVE}" \ -I"${WIN_DIR_NATIVE}" ${AC_FLAGS} \ -${COMPILE_DEBUG_FLAGS} +${COMPILE_DEBUG_FLAGS} ${NO_DEPRECATED_FLAGS} CC_OBJNAME = @CC_OBJNAME@ CC_EXENAME = @CC_EXENAME@ |