Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
296fb57b
Commit
296fb57b
authored
20 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Make pltcl work on Win32. Magnus Hagander
parent
65ff0ed4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/include/nodes/nodes.h
+2
-2
2 additions, 2 deletions
src/include/nodes/nodes.h
src/pl/tcl/Makefile
+5
-1
5 additions, 1 deletion
src/pl/tcl/Makefile
src/pl/tcl/pltcl.c
+6
-1
6 additions, 1 deletion
src/pl/tcl/pltcl.c
with
13 additions
and
4 deletions
src/include/nodes/nodes.h
+
2
−
2
View file @
296fb57b
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $PostgreSQL: pgsql/src/include/nodes/nodes.h,v 1.16
0
2004/0
8/29 04:13:07 momjian
Exp $
* $PostgreSQL: pgsql/src/include/nodes/nodes.h,v 1.16
1
2004/0
9/14 03:21:25 tgl
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -335,7 +335,7 @@ typedef struct Node
...
@@ -335,7 +335,7 @@ typedef struct Node
* Fortunately, this macro isn't recursive so we just define
* Fortunately, this macro isn't recursive so we just define
* a global variable for this purpose.
* a global variable for this purpose.
*/
*/
extern
Node
*
newNodeMacroHolder
;
extern
DLLIMPORT
Node
*
newNodeMacroHolder
;
#define newNode(size, tag) \
#define newNode(size, tag) \
( \
( \
...
...
This diff is collapsed.
Click to expand it.
src/pl/tcl/Makefile
+
5
−
1
View file @
296fb57b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
#
#
# Makefile for the pltcl shared object
# Makefile for the pltcl shared object
#
#
# $PostgreSQL: pgsql/src/pl/tcl/Makefile,v 1.4
2
2004/0
1/21 19:04:11
tgl Exp $
# $PostgreSQL: pgsql/src/pl/tcl/Makefile,v 1.4
3
2004/0
9/14 03:21:27
tgl Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -29,7 +29,11 @@ endif
...
@@ -29,7 +29,11 @@ endif
endif
endif
ifneq
($(PORTNAME), win32)
SHLIB_LINK
=
$(
BE_DLLLIBS
)
$(
TCL_LIB_SPEC
)
$(
TCL_LIBS
)
-lc
SHLIB_LINK
=
$(
BE_DLLLIBS
)
$(
TCL_LIB_SPEC
)
$(
TCL_LIBS
)
-lc
else
SHLIB_LINK
=
$(
TCL_LIB_SPEC
)
$(
BE_DLLLIBS
)
endif
NAME
=
pltcl
NAME
=
pltcl
SO_MAJOR_VERSION
=
2
SO_MAJOR_VERSION
=
2
...
...
This diff is collapsed.
Click to expand it.
src/pl/tcl/pltcl.c
+
6
−
1
View file @
296fb57b
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
* ENHANCEMENTS, OR MODIFICATIONS.
* ENHANCEMENTS, OR MODIFICATIONS.
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/pl/tcl/pltcl.c,v 1.9
2
2004/09/1
3 20:09:39
tgl Exp $
* $PostgreSQL: pgsql/src/pl/tcl/pltcl.c,v 1.9
3
2004/09/1
4 03:21:27
tgl Exp $
*
*
**********************************************************************/
**********************************************************************/
...
@@ -233,6 +233,11 @@ pltcl_init(void)
...
@@ -233,6 +233,11 @@ pltcl_init(void)
if
(
pltcl_pm_init_done
)
if
(
pltcl_pm_init_done
)
return
;
return
;
#ifdef WIN32
/* Required on win32 to prevent error loading init.tcl */
Tcl_FindExecutable
(
""
);
#endif
/************************************************************
/************************************************************
* Create the dummy hold interpreter to prevent close of
* Create the dummy hold interpreter to prevent close of
* stdout and stderr on DeleteInterp
* stdout and stderr on DeleteInterp
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment