summaryrefslogtreecommitdiffstats
path: root/generic/tclStubInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-15 04:54:19 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-15 04:54:19 (GMT)
commitb68b8009bd3e885e1b2b4b6204c92d9791ea6f1b (patch)
treea87710d391e060d7a0af577ec69ea1143ffb9c48 /generic/tclStubInit.c
parentd7dccda78eed3f2ba6f123ccff8c61b9f7d4bfe0 (diff)
parent7ac6053161fe49bc32f962b38e67f94f172ce709 (diff)
downloadtcl-b68b8009bd3e885e1b2b4b6204c92d9791ea6f1b.zip
tcl-b68b8009bd3e885e1b2b4b6204c92d9791ea6f1b.tar.gz
tcl-b68b8009bd3e885e1b2b4b6204c92d9791ea6f1b.tar.bz2
Revert part of [5caa06383d] move Tcl_MacOSXOpenBundleResources and Tcl_MacOSXOpenVersionedBundleResources from the UNIX stub table back to its own osx stub table, instead let cygwin make use of the win32 stub table
Diffstat (limited to 'generic/tclStubInit.c')
-rw-r--r--generic/tclStubInit.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c
index f400e7e..4b09f37 100644
--- a/generic/tclStubInit.c
+++ b/generic/tclStubInit.c
@@ -187,10 +187,6 @@ Tcl_WinTCharToUtf(
string, len, dsPtr);
}
-#define Tcl_MacOSXOpenBundleResources (int (*) ( \
- Tcl_Interp *, const char *, int, int, char *)) Tcl_WinUtfToTChar
-#define Tcl_MacOSXOpenVersionedBundleResources (int (*) ( \
- Tcl_Interp *, const char *, const char *, int, int, char *)) Tcl_WinTCharToUtf
#define TclMacOSXGetFileAttribute (int (*) (Tcl_Interp *, \
int, Tcl_Obj *, Tcl_Obj **)) TclpCreateProcess
#define TclMacOSXMatchType (int (*) (Tcl_Interp *, const char *, \
@@ -611,11 +607,7 @@ TclIntPlatStubs tclIntPlatStubs = {
TclPlatStubs tclPlatStubs = {
TCL_STUB_MAGIC,
NULL,
-#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */
- Tcl_MacOSXOpenBundleResources, /* 0 */
- Tcl_MacOSXOpenVersionedBundleResources, /* 1 */
-#endif /* UNIX */
-#ifdef __WIN32__ /* WIN */
+#if defined(__WIN32__) || defined(__CYGWIN__) /* WIN */
Tcl_WinUtfToTChar, /* 0 */
Tcl_WinTCharToUtf, /* 1 */
#endif /* WIN */