summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-22 10:01:02 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-22 10:01:02 (GMT)
commit7bfb05f7fb4dd46306021ae1e767db1edae74593 (patch)
treea0a1e7d99608cc0f082eb4b1b6d2d113a65b800a
parentcc0dacf5bd3ad288d41dd1d53e2e31c651c4ad53 (diff)
parent507f8de77f501bd26ff176139ce8f8fd7b7279de (diff)
downloadtcl-7bfb05f7fb4dd46306021ae1e767db1edae74593.zip
tcl-7bfb05f7fb4dd46306021ae1e767db1edae74593.tar.gz
tcl-7bfb05f7fb4dd46306021ae1e767db1edae74593.tar.bz2
[bug 3508771] fix OSX build
-rw-r--r--generic/tclIntPlatDecls.h6
-rw-r--r--generic/tclStubInit.c2
2 files changed, 1 insertions, 7 deletions
diff --git a/generic/tclIntPlatDecls.h b/generic/tclIntPlatDecls.h
index 8350781..192005c 100644
--- a/generic/tclIntPlatDecls.h
+++ b/generic/tclIntPlatDecls.h
@@ -512,10 +512,4 @@ extern const TclIntPlatStubs *tclIntPlatStubsPtr;
#undef TclpLocaltime_unix
#undef TclpGmtime_unix
-#if !defined(__WIN32__) && !defined(__CYGWIN__) && defined(USE_TCL_STUBS)
-#undef TclpCreateTempFile
-#define TclpCreateTempFile \
- ((TclFile (*)_ANSI_ARGS_((CONST char *))) tclIntPlatStubsPtr->tclWinGetPlatformId)
-#endif
-
#endif /* _TCLINTPLATDECLS */
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c
index eab51a8..da899f4 100644
--- a/generic/tclStubInit.c
+++ b/generic/tclStubInit.c
@@ -89,7 +89,7 @@ Tcl_WinTCharToUtf(string, len, dsPtr)
#define Tcl_MacOSXOpenVersionedBundleResources (int (*) _ANSI_ARGS_(( \
Tcl_Interp *, CONST char *, CONST char *, int, int, char *))) Tcl_WinTCharToUtf
-#elif !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */
+#elif !defined(__WIN32__) /* UNIX and MAC */
# define TclWinGetPlatformId (int (*)()) TclpCreateTempFile
# ifndef MAC_OSX_TCL
# define Tcl_MacOSXOpenBundleResources 0