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
e259780b
Commit
e259780b
authored
Jul 19, 1999
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable WIN32 compilation of libpq.
parent
bf98a465
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
18 additions
and
15 deletions
+18
-15
src/backend/utils/mb/common.c
src/backend/utils/mb/common.c
+3
-2
src/interfaces/libpq/fe-auth.c
src/interfaces/libpq/fe-auth.c
+2
-3
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/fe-connect.c
+2
-2
src/interfaces/libpq/fe-exec.c
src/interfaces/libpq/fe-exec.c
+3
-2
src/interfaces/libpq/fe-lobj.c
src/interfaces/libpq/fe-lobj.c
+3
-2
src/interfaces/libpq/fe-misc.c
src/interfaces/libpq/fe-misc.c
+3
-2
src/interfaces/libpq/fe-print.c
src/interfaces/libpq/fe-print.c
+2
-2
No files found.
src/backend/utils/mb/common.c
View file @
e259780b
...
@@ -2,14 +2,15 @@
...
@@ -2,14 +2,15 @@
* This file contains some public functions
* This file contains some public functions
* usable for both the backend and the frontend.
* usable for both the backend and the frontend.
* Tatsuo Ishii
* Tatsuo Ishii
* $Id: common.c,v 1.
6 1999/07/19 02:27:07
momjian Exp $ */
* $Id: common.c,v 1.
7 1999/07/19 06:25:38
momjian Exp $ */
#include <stdlib.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <string.h>
#ifdef WIN32
#ifdef WIN32
#include "win32.h"
#include "win32.h"
#else
#include <unistd.h>
#endif
#endif
#include "mb/pg_wchar.h"
#include "mb/pg_wchar.h"
...
...
src/interfaces/libpq/fe-auth.c
View file @
e259780b
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.3
1 1999/07/19 02:27:14
momjian Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.3
2 1999/07/19 06:25:38
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -25,8 +25,6 @@
...
@@ -25,8 +25,6 @@
*
*
*/
*/
#include <unistd.h>
#include "postgres.h"
#include "postgres.h"
#include "libpq-fe.h"
#include "libpq-fe.h"
#include "libpq-int.h"
#include "libpq-int.h"
...
@@ -35,6 +33,7 @@
...
@@ -35,6 +33,7 @@
#ifdef WIN32
#ifdef WIN32
#include "win32.h"
#include "win32.h"
#else
#else
#include <unistd.h>
#include <sys/param.h>
/* for MAXHOSTNAMELEN on most */
#include <sys/param.h>
/* for MAXHOSTNAMELEN on most */
#ifndef MAXHOSTNAMELEN
#ifndef MAXHOSTNAMELEN
#include <netdb.h>
/* for MAXHOSTNAMELEN on some */
#include <netdb.h>
/* for MAXHOSTNAMELEN on some */
...
...
src/interfaces/libpq/fe-connect.c
View file @
e259780b
...
@@ -7,12 +7,11 @@
...
@@ -7,12 +7,11 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.10
0 1999/07/19 02:27:15
momjian Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.10
1 1999/07/19 06:25:38
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include <unistd.h>
#include <fcntl.h>
#include <fcntl.h>
#include <errno.h>
#include <errno.h>
#include <ctype.h>
#include <ctype.h>
...
@@ -25,6 +24,7 @@
...
@@ -25,6 +24,7 @@
#ifdef WIN32
#ifdef WIN32
#include "win32.h"
#include "win32.h"
#else
#else
#include <unistd.h>
#include <netdb.h>
#include <netdb.h>
#include <netinet/tcp.h>
#include <netinet/tcp.h>
#endif
#endif
...
...
src/interfaces/libpq/fe-exec.c
View file @
e259780b
...
@@ -7,11 +7,10 @@
...
@@ -7,11 +7,10 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.8
3 1999/07/19 02:27:15
momjian Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.8
4 1999/07/19 06:25:39
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include <unistd.h>
#include <errno.h>
#include <errno.h>
#include <ctype.h>
#include <ctype.h>
...
@@ -21,6 +20,8 @@
...
@@ -21,6 +20,8 @@
#ifdef WIN32
#ifdef WIN32
#include "win32.h"
#include "win32.h"
#else
#include <unistd.h>
#endif
#endif
...
...
src/interfaces/libpq/fe-lobj.c
View file @
e259780b
...
@@ -7,12 +7,11 @@
...
@@ -7,12 +7,11 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-lobj.c,v 1.2
3 1999/07/19 02:45:43
momjian Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-lobj.c,v 1.2
4 1999/07/19 06:25:39
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include <unistd.h>
#include <fcntl.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/stat.h>
...
@@ -23,6 +22,8 @@
...
@@ -23,6 +22,8 @@
#ifdef WIN32
#ifdef WIN32
#include "win32.h"
#include "win32.h"
#include "io.h"
#include "io.h"
#else
#include <unistd.h>
#endif
#endif
#include "libpq/libpq-fs.h"
/* must come after sys/stat.h */
#include "libpq/libpq-fs.h"
/* must come after sys/stat.h */
...
...
src/interfaces/libpq/fe-misc.c
View file @
e259780b
...
@@ -24,12 +24,11 @@
...
@@ -24,12 +24,11 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-misc.c,v 1.2
7 1999/07/19 02:27:15
momjian Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-misc.c,v 1.2
8 1999/07/19 06:25:40
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include <unistd.h>
#include <sys/time.h>
#include <sys/time.h>
#include <errno.h>
#include <errno.h>
#include <signal.h>
#include <signal.h>
...
@@ -42,6 +41,8 @@
...
@@ -42,6 +41,8 @@
#ifdef WIN32
#ifdef WIN32
#include "win32.h"
#include "win32.h"
#else
#include <unistd.h>
#endif
#endif
#ifdef HAVE_SYS_SELECT_H
#ifdef HAVE_SYS_SELECT_H
...
...
src/interfaces/libpq/fe-print.c
View file @
e259780b
...
@@ -9,11 +9,10 @@
...
@@ -9,11 +9,10 @@
* didn't really belong there.
* didn't really belong there.
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-print.c,v 1.2
5 1999/07/19 02:27:16
momjian Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-print.c,v 1.2
6 1999/07/19 06:25:40
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include <unistd.h>
#include <signal.h>
#include <signal.h>
#include "postgres.h"
#include "postgres.h"
...
@@ -24,6 +23,7 @@
...
@@ -24,6 +23,7 @@
#ifdef WIN32
#ifdef WIN32
#include "win32.h"
#include "win32.h"
#else
#else
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/ioctl.h>
#endif
#endif
...
...
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