summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r--win/tclWinPort.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index 09a0ee5..ccb2acc 100644
--- a/win/tclWinPort.h
+++ b/win/tclWinPort.h
@@ -537,7 +537,9 @@ typedef DWORD_PTR * PDWORD_PTR;
* functions.
*/
-#define TclpExit exit
+#ifndef TCL_NO_DEPRECATED
+# define TclpExit exit
+#endif
#ifndef INVALID_SET_FILE_POINTER
#define INVALID_SET_FILE_POINTER 0xFFFFFFFF