summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-09-08 08:20:32 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-09-08 08:20:32 (GMT)
commit6d71bc534ef26440835770cb3b305fb91074f724 (patch)
treec8626fb061d2fac6d7ad1dd86c8781bcf7bc4d9d /generic
parentb0619711e2e6b9f64ae786766477215f9878bf5c (diff)
downloadtk-6d71bc534ef26440835770cb3b305fb91074f724.zip
tk-6d71bc534ef26440835770cb3b305fb91074f724.tar.gz
tk-6d71bc534ef26440835770cb3b305fb91074f724.tar.bz2
Don't let tkDecls.h depend on <tchar.h> on windows, not even in UNICODE mode
Diffstat (limited to 'generic')
-rw-r--r--generic/tkDecls.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tkDecls.h b/generic/tkDecls.h
index b51a264..fb949b2 100644
--- a/generic/tkDecls.h
+++ b/generic/tkDecls.h
@@ -1734,8 +1734,9 @@ extern const TkStubs *tkStubsPtr;
#undef Tk_CreateConsoleWindow
#if defined(_WIN32) && defined(UNICODE)
-EXTERN void Tk_MainExW(int, TCHAR **, Tcl_AppInitProc *, Tcl_Interp *);
# define Tk_MainEx Tk_MainExW
+ EXTERN void Tk_MainExW(int argc, wchar_t **argv,
+ Tcl_AppInitProc *appInitProc, Tcl_Interp *interp);
#endif
#undef TCL_STORAGE_CLASS