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)
commitb2fb74791d7bcd72b4892e5ab11cef544662823b (patch)
treea0a1e7d99608cc0f082eb4b1b6d2d113a65b800a
parentd0b8e4f72b7ad744867e47ea0f8692bfe8a7380e (diff)
parente06a1be5516db77fa0a183f2047eb6f18952ed70 (diff)
downloadtcl-b2fb74791d7bcd72b4892e5ab11cef544662823b.zip
tcl-b2fb74791d7bcd72b4892e5ab11cef544662823b.tar.gz
tcl-b2fb74791d7bcd72b4892e5ab11cef544662823b.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