mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Make pltcl work on Win32. Magnus Hagander
This commit is contained in:
@ -31,7 +31,7 @@
|
||||
* ENHANCEMENTS, OR MODIFICATIONS.
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/pl/tcl/pltcl.c,v 1.92 2004/09/13 20:09:39 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/pl/tcl/pltcl.c,v 1.93 2004/09/14 03:21:27 tgl Exp $
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
@ -233,6 +233,11 @@ pltcl_init(void)
|
||||
if (pltcl_pm_init_done)
|
||||
return;
|
||||
|
||||
#ifdef WIN32
|
||||
/* Required on win32 to prevent error loading init.tcl */
|
||||
Tcl_FindExecutable("");
|
||||
#endif
|
||||
|
||||
/************************************************************
|
||||
* Create the dummy hold interpreter to prevent close of
|
||||
* stdout and stderr on DeleteInterp
|
||||
|
Reference in New Issue
Block a user