summaryrefslogtreecommitdiffstats
path: root/generic/tclStubInit.c
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-05-15 04:54:19 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-05-15 04:54:19 (GMT)
commit187d48df6efbb9547bc002d45d579833d8a26b9d (patch)
treea87710d391e060d7a0af577ec69ea1143ffb9c48 /generic/tclStubInit.c
parentb812f5b66d458012402418df07f6194de5c196e2 (diff)
parente821c724e3c0664d2d5eb3955b68c109ff6041b0 (diff)
downloadtcl-187d48df6efbb9547bc002d45d579833d8a26b9d.zip
tcl-187d48df6efbb9547bc002d45d579833d8a26b9d.tar.gz
tcl-187d48df6efbb9547bc002d45d579833d8a26b9d.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 */