Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
f6b896b1
Commit
f6b896b1
authored
Sep 27, 2004
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve MS VC builds for psql by handlling flex properly and prevent
rename prototype conflict.
parent
a6cb7fd6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
4 deletions
+17
-4
src/bin/psql/bcc32.mak
src/bin/psql/bcc32.mak
+5
-1
src/bin/psql/win32.mak
src/bin/psql/win32.mak
+6
-2
src/include/port.h
src/include/port.h
+6
-1
No files found.
src/bin/psql/bcc32.mak
View file @
f6b896b1
...
@@ -37,6 +37,7 @@ NULL=nul
...
@@ -37,6 +37,7 @@ NULL=nul
CPP
=
bcc32.exe
CPP
=
bcc32.exe
PERL
=
perl.exe
PERL
=
perl.exe
FLEX
=
flex.exe
!IF
"$(CFG)"
==
"Debug"
!IF
"$(CFG)"
==
"Debug"
DEBUG
=
1
DEBUG
=
1
...
@@ -53,7 +54,7 @@ REFDOCDIR=../../../doc/src/sgml/ref
...
@@ -53,7 +54,7 @@ REFDOCDIR=../../../doc/src/sgml/ref
.c.obj
:
.c.obj
:
$(CPP)
-o
"
$(INTDIR)
\$
&"
$(CPP_PROJ)
$<
$(CPP)
-o
"
$(INTDIR)
\$
&"
$(CPP_PROJ)
$<
ALL
:
sql_help.h "..
\.
.
\p
ort
\p
g_config_paths.h" "$(OUTDIR)
\p
sql.exe"
ALL
:
sql_help.h
psqlscan.c
"..
\.
.
\p
ort
\p
g_config_paths.h" "$(OUTDIR)
\p
sql.exe"
CLEAN
:
CLEAN
:
-
@erase
"
$(INTDIR)
\c
ommand.obj"
-
@erase
"
$(INTDIR)
\c
ommand.obj"
...
@@ -158,3 +159,6 @@ path.obj : "$(OUTDIR)" ..\..\port\path.c
...
@@ -158,3 +159,6 @@ path.obj : "$(OUTDIR)" ..\..\port\path.c
"sql_help.h"
:
create_help.pl
"sql_help.h"
:
create_help.pl
$(PERL)
create_help.pl
$(REFDOCDIR)
$@
$(PERL)
create_help.pl
$(REFDOCDIR)
$@
psqlscan.c
:
psqlscan.l
$(FLEX)
-Cfe
-opsqlscan
.c psqlscan.l
src/bin/psql/win32.mak
View file @
f6b896b1
...
@@ -8,6 +8,7 @@ NULL=nul
...
@@ -8,6 +8,7 @@ NULL=nul
CPP
=
cl.exe
CPP
=
cl.exe
PERL
=
perl.exe
PERL
=
perl.exe
FLEX
=
flex.exe
OUTDIR
=
.
\R
elease
OUTDIR
=
.
\R
elease
INTDIR
=
.
\R
elease
INTDIR
=
.
\R
elease
...
@@ -16,7 +17,7 @@ REFDOCDIR= ../../../doc/src/sgml/ref
...
@@ -16,7 +17,7 @@ REFDOCDIR= ../../../doc/src/sgml/ref
OutDir
=
.
\R
elease
OutDir
=
.
\R
elease
# End Custom Macros
# End Custom Macros
ALL
:
sql_help.h "..
\.
.
\p
ort
\p
g_config_paths.h" "$(OUTDIR)
\p
sql.exe"
ALL
:
sql_help.h
psqlscan.c
"..
\.
.
\p
ort
\p
g_config_paths.h" "$(OUTDIR)
\p
sql.exe"
CLEAN
:
CLEAN
:
-
@erase
"
$(INTDIR)
\c
ommand.obj"
-
@erase
"
$(INTDIR)
\c
ommand.obj"
...
@@ -127,5 +128,8 @@ LINK32_OBJS= \
...
@@ -127,5 +128,8 @@ LINK32_OBJS= \
$(CPP_PROJ)
$<
$(CPP_PROJ)
$<
<<
<<
sql_help.h
:
create_help.pl
sql_help.h
:
create_help.pl
$(PERL)
create_help.pl
$(REFDOCDIR)
$@
$(PERL)
create_help.pl
$(REFDOCDIR)
$@
psqlscan.c
:
psqlscan.l
$(FLEX)
-Cfe
-opsqlscan
.c psqlscan.l
src/include/port.h
View file @
f6b896b1
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,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/port.h,v 1.6
1 2004/09/09 14:18
:20 momjian Exp $
* $PostgreSQL: pgsql/src/include/port.h,v 1.6
2 2004/09/27 20:37
:20 momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -168,6 +168,11 @@ extern int pgrename(const char *from, const char *to);
...
@@ -168,6 +168,11 @@ extern int pgrename(const char *from, const char *to);
extern
int
pgunlink
(
const
char
*
path
);
extern
int
pgunlink
(
const
char
*
path
);
extern
int
pgsymlink
(
const
char
*
oldpath
,
const
char
*
newpath
);
extern
int
pgsymlink
(
const
char
*
oldpath
,
const
char
*
newpath
);
/* Include this first so later includes don't see these defines */
#ifdef _MSC_VER
#include <io.h>
#endif
#define rename(from, to) pgrename(from, to)
#define rename(from, to) pgrename(from, to)
#define unlink(path) pgunlink(path)
#define unlink(path) pgunlink(path)
#define symlink(oldpath, newpath) pgsymlink(oldpath, newpath)
#define symlink(oldpath, newpath) pgsymlink(oldpath, newpath)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment