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
535d9287
Commit
535d9287
authored
23 years ago
by
Hiroshi Inoue
Browse files
Options
Downloads
Patches
Plain Diff
Remove compile errors of psql.exe and libpq.dll under
Multibyte mode.
parent
ed19b914
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/bin/psql/win32.mak
+2
-0
2 additions, 0 deletions
src/bin/psql/win32.mak
src/include/pg_config.h.win32
+7
-0
7 additions, 0 deletions
src/include/pg_config.h.win32
src/interfaces/libpq/win32.mak
+10
-1
10 additions, 1 deletion
src/interfaces/libpq/win32.mak
with
19 additions
and
1 deletion
src/bin/psql/win32.mak
+
2
−
0
View file @
535d9287
...
@@ -32,6 +32,7 @@ CLEAN :
...
@@ -32,6 +32,7 @@ CLEAN :
-
@erase
"
$(
INTDIR
)
\d
escribe.obj"
-
@erase
"
$(
INTDIR
)
\d
escribe.obj"
-
@erase
"
$(
INTDIR
)
\t
ab-complete.obj"
-
@erase
"
$(
INTDIR
)
\t
ab-complete.obj"
-
@erase
"
$(
INTDIR
)
\g
etopt.obj"
-
@erase
"
$(
INTDIR
)
\g
etopt.obj"
-
@erase
"
$(
INTDIR
)
\m
bprint.obj"
-
@erase
"
$(
INTDIR
)
\v
c50.idb"
-
@erase
"
$(
INTDIR
)
\v
c50.idb"
-
@erase
"
$(
OUTDIR
)
\p
sql.exe"
-
@erase
"
$(
OUTDIR
)
\p
sql.exe"
...
@@ -73,6 +74,7 @@ LINK32_OBJS= \
...
@@ -73,6 +74,7 @@ LINK32_OBJS= \
"
$(
INTDIR
)
\d
escribe.obj"
\
"
$(
INTDIR
)
\d
escribe.obj"
\
"
$(
INTDIR
)
\t
ab-complete.obj"
\
"
$(
INTDIR
)
\t
ab-complete.obj"
\
"
$(
INTDIR
)
\g
etopt.obj"
\
"
$(
INTDIR
)
\g
etopt.obj"
\
"
$(
INTDIR
)
\m
bprint.obj"
\
"..
\.
.
\i
nterfaces
\l
ibpq
\R
elease
\l
ibpqdll.lib"
"..
\.
.
\i
nterfaces
\l
ibpq
\R
elease
\l
ibpqdll.lib"
"$(OUTDIR)\psql.exe"
:
"$(OUTDIR)"
$(DEF_FILE)
$(LINK32_OBJS)
"$(OUTDIR)\psql.exe"
:
"$(OUTDIR)"
$(DEF_FILE)
$(LINK32_OBJS)
...
...
This diff is collapsed.
Click to expand it.
src/include/pg_config.h.win32
+
7
−
0
View file @
535d9287
#ifndef pg_config_h_win32__
#define pg_config_h_win32__
/*
/*
* Parts of pg_config.h that you get with autoconf on other systems
* Parts of pg_config.h that you get with autoconf on other systems
*/
*/
...
@@ -23,3 +25,8 @@
...
@@ -23,3 +25,8 @@
#define HAVE_CXX_STRING_HEADER
#define HAVE_CXX_STRING_HEADER
#define HAVE_NAMESPACE_STD
#define HAVE_NAMESPACE_STD
/* use _snprintf instead of snprintf */
#define HAVE_SNPRINTF_DECL
#define snprintf _snprintf
#endif /* pg_config_h_win32__ */
This diff is collapsed.
Click to expand it.
src/interfaces/libpq/win32.mak
+
10
−
1
View file @
535d9287
...
@@ -73,6 +73,7 @@ CLEAN :
...
@@ -73,6 +73,7 @@ CLEAN :
-
@erase
"
$(
OUTDIR
)
\l
ibpqdll.lib"
-
@erase
"
$(
OUTDIR
)
\l
ibpqdll.lib"
!IFDEF
MULTIBYTE
!IFDEF
MULTIBYTE
-@erase
"$(INTDIR)\wchar.obj"
-@erase
"$(INTDIR)\wchar.obj"
-@erase
"$(INTDIR)\encnames.obj"
!ENDIF
!ENDIF
"$(OUTDIR)"
:
"$(OUTDIR)"
:
...
@@ -106,7 +107,7 @@ LIB32_OBJS= \
...
@@ -106,7 +107,7 @@ LIB32_OBJS= \
"
$(
INTDIR
)
\p
qexpbuffer.obj"
"
$(
INTDIR
)
\p
qexpbuffer.obj"
!IFDEF
MULTIBYTE
!IFDEF
MULTIBYTE
LIB32_OBJS
=
$(
LIB32_OBJS
)
"
$(
INTDIR
)
\w
char.obj"
LIB32_OBJS
=
$(
LIB32_OBJS
)
"
$(
INTDIR
)
\w
char.obj"
"
$(
INTDIR
)
\e
ncnames.obj"
!ENDIF
!ENDIF
RSC_PROJ
=
/l 0x409 /fo
"
$(
INTDIR
)
\l
ibpq.res"
RSC_PROJ
=
/l 0x409 /fo
"
$(
INTDIR
)
\l
ibpq.res"
...
@@ -158,6 +159,14 @@ LINK32_OBJS= \
...
@@ -158,6 +159,14 @@ LINK32_OBJS= \
!ENDIF
!ENDIF
!IFDEF
MULTIBYTE
"$(INTDIR)\encnames.obj"
:
..\..\backend\utils\mb\encnames.c
$(CPP)
@<<
$(CPP_PROJ)
/I
"."
..\..\backend\utils\mb\encnames.c
<<
!ENDIF
.c{$(CPP_OBJS)}.obj
::
.c{$(CPP_OBJS)}.obj
::
$(CPP)
@<<
$(CPP)
@<<
$(CPP_PROJ)
$<
$(CPP_PROJ)
$<
...
...
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