diff options
| author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-03-22 10:01:02 (GMT) |
|---|---|---|
| committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-03-22 10:01:02 (GMT) |
| commit | b60a651d293deac60cb41b80084b84a9a2d96a9a (patch) | |
| tree | a0a1e7d99608cc0f082eb4b1b6d2d113a65b800a | |
| parent | 8f7fdfda56a78fff470f4a3b608a022f82dd01c2 (diff) | |
| parent | 9ffa95fbac16698dcd3246650d8852c279a8e384 (diff) | |
| download | tcl-b60a651d293deac60cb41b80084b84a9a2d96a9a.zip tcl-b60a651d293deac60cb41b80084b84a9a2d96a9a.tar.gz tcl-b60a651d293deac60cb41b80084b84a9a2d96a9a.tar.bz2 | |
[bug 3508771] fix OSX build
| -rw-r--r-- | generic/tclIntPlatDecls.h | 6 | ||||
| -rw-r--r-- | generic/tclStubInit.c | 2 |
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 |
