summaryrefslogtreecommitdiffstats
path: root/win/winMain.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-09-23 20:59:00 (GMT)
committernijtmans <nijtmans>2010-09-23 20:59:00 (GMT)
commit1c475f1af34445bb15b76cf17cb7a3fbe7648d81 (patch)
tree12e5216390c3a58213491ab3f152da60a3df4df9 /win/winMain.c
parente72a1ff1315a2dbdb79371a1a11774718571c0e2 (diff)
downloadtk-1c475f1af34445bb15b76cf17cb7a3fbe7648d81.zip
tk-1c475f1af34445bb15b76cf17cb7a3fbe7648d81.tar.gz
tk-1c475f1af34445bb15b76cf17cb7a3fbe7648d81.tar.bz2
winMain should never be called with stubs
Diffstat (limited to 'win/winMain.c')
-rw-r--r--win/winMain.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/win/winMain.c b/win/winMain.c
index b3d9f95..b29d355 100644
--- a/win/winMain.c
+++ b/win/winMain.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: winMain.c,v 1.31 2010/09/23 10:01:57 nijtmans Exp $
+ * RCS: @(#) $Id: winMain.c,v 1.32 2010/09/23 20:59:00 nijtmans Exp $
*/
/* TODO: This file does not compile in UNICODE mode.
@@ -20,6 +20,9 @@
#undef UNICODE
#undef _UNICODE
+/* Make sure this file is never compiled with Stubs! */
+#undef USE_TCL_STUBS
+#undef USE_TK_STUBS
#include "tk.h"
#define WIN32_LEAN_AND_MEAN
#include <windows.h>