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
32b24bfa
Commit
32b24bfa
authored
Sep 27, 2004
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove inclusion of windows.h now that it is included in c.h, per idea
from Peter.
parent
7ceec70f
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
32 deletions
+11
-32
src/bin/pgevent/pgevent.c
src/bin/pgevent/pgevent.c
+4
-4
src/bin/psql/input.c
src/bin/psql/input.c
+1
-5
src/bin/psql/mbprint.c
src/bin/psql/mbprint.c
+1
-5
src/bin/psql/startup.c
src/bin/psql/startup.c
+1
-2
src/port/crypt.c
src/port/crypt.c
+1
-3
src/port/dirmod.c
src/port/dirmod.c
+1
-2
src/port/sprompt.c
src/port/sprompt.c
+1
-6
src/timezone/zic.c
src/timezone/zic.c
+1
-5
No files found.
src/bin/pgevent/pgevent.c
View file @
32b24bfa
...
@@ -6,15 +6,15 @@
...
@@ -6,15 +6,15 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/bin/pgevent/pgevent.c,v 1.
3 2004/08/30 02:54:40
momjian Exp $
* $PostgreSQL: pgsql/src/bin/pgevent/pgevent.c,v 1.
4 2004/09/27 19:16:01
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include
"windows.h"
#include
<windows.h>
#include
"olectl.h"
#include
<olectl.h>
#include
"string.h"
#include
<string.h>
/* Global variables */
/* Global variables */
HANDLE
g_module
=
NULL
;
/* hModule of DLL */
HANDLE
g_module
=
NULL
;
/* hModule of DLL */
...
...
src/bin/psql/input.c
View file @
32b24bfa
...
@@ -3,17 +3,13 @@
...
@@ -3,17 +3,13 @@
*
*
* Copyright (c) 2000-2004, PostgreSQL Global Development Group
* Copyright (c) 2000-2004, PostgreSQL Global Development Group
*
*
* $PostgreSQL: pgsql/src/bin/psql/input.c,v 1.3
7 2004/08/29 05:06:54
momjian Exp $
* $PostgreSQL: pgsql/src/bin/psql/input.c,v 1.3
8 2004/09/27 19:16:02
momjian Exp $
*/
*/
#include "postgres_fe.h"
#include "postgres_fe.h"
#include "input.h"
#include "input.h"
#include <errno.h>
#include <errno.h>
#ifdef WIN32
#include <windows.h>
#endif
#include "pqexpbuffer.h"
#include "pqexpbuffer.h"
#include "settings.h"
#include "settings.h"
#include "tab-complete.h"
#include "tab-complete.h"
...
...
src/bin/psql/mbprint.c
View file @
32b24bfa
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
*
*
* Copyright (c) 2000-2004, PostgreSQL Global Development Group
* Copyright (c) 2000-2004, PostgreSQL Global Development Group
*
*
* $PostgreSQL: pgsql/src/bin/psql/mbprint.c,v 1.1
4 2004/08/29 04:13
:02 momjian Exp $
* $PostgreSQL: pgsql/src/bin/psql/mbprint.c,v 1.1
5 2004/09/27 19:16
:02 momjian Exp $
*/
*/
#include "postgres_fe.h"
#include "postgres_fe.h"
...
@@ -14,10 +14,6 @@
...
@@ -14,10 +14,6 @@
#include "mb/pg_wchar.h"
#include "mb/pg_wchar.h"
#ifdef WIN32
#include <windows.h>
#endif
/*
/*
* This is an implementation of wcwidth() and wcswidth() as defined in
* This is an implementation of wcwidth() and wcswidth() as defined in
* "The Single UNIX Specification, Version 2, The Open Group, 1997"
* "The Single UNIX Specification, Version 2, The Open Group, 1997"
...
...
src/bin/psql/startup.c
View file @
32b24bfa
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
*
*
* Copyright (c) 2000-2004, PostgreSQL Global Development Group
* Copyright (c) 2000-2004, PostgreSQL Global Development Group
*
*
* $PostgreSQL: pgsql/src/bin/psql/startup.c,v 1.10
0 2004/09/13 23:07:12 neilc
Exp $
* $PostgreSQL: pgsql/src/bin/psql/startup.c,v 1.10
1 2004/09/27 19:16:02 momjian
Exp $
*/
*/
#include "postgres_fe.h"
#include "postgres_fe.h"
...
@@ -13,7 +13,6 @@
...
@@ -13,7 +13,6 @@
#include <unistd.h>
#include <unistd.h>
#else
/* WIN32 */
#else
/* WIN32 */
#include <io.h>
#include <io.h>
#include <windows.h>
#include <win32.h>
#include <win32.h>
#endif
/* WIN32 */
#endif
/* WIN32 */
...
...
src/port/crypt.c
View file @
32b24bfa
...
@@ -52,9 +52,7 @@ __RCSID("$NetBSD: crypt.c,v 1.18 2001/03/01 14:37:35 wiz Exp $");
...
@@ -52,9 +52,7 @@ __RCSID("$NetBSD: crypt.c,v 1.18 2001/03/01 14:37:35 wiz Exp $");
#include <limits.h>
#include <limits.h>
#include <stdlib.h>
#include <stdlib.h>
#ifdef WIN32
#ifndef WIN32
#include <windows.h>
#else
#include <unistd.h>
#include <unistd.h>
#endif
#endif
...
...
src/port/dirmod.c
View file @
32b24bfa
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
* Win32 (NT, Win2k, XP). replace() doesn't work on Win95/98/Me.
* Win32 (NT, Win2k, XP). replace() doesn't work on Win95/98/Me.
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/port/dirmod.c,v 1.2
6 2004/09/10 09:58:21
momjian Exp $
* $PostgreSQL: pgsql/src/port/dirmod.c,v 1.2
7 2004/09/27 19:16:02
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -402,7 +402,6 @@ rmtree(char *path, bool rmtopdir)
...
@@ -402,7 +402,6 @@ rmtree(char *path, bool rmtopdir)
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <errno.h>
#include <errno.h>
#include <windows.h>
#define halt(str) \
#define halt(str) \
do { \
do { \
...
...
src/port/sprompt.c
View file @
32b24bfa
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/port/sprompt.c,v 1.
8 2004/08/29 05:07
:02 momjian Exp $
* $PostgreSQL: pgsql/src/port/sprompt.c,v 1.
9 2004/09/27 19:16
:02 momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -30,11 +30,6 @@
...
@@ -30,11 +30,6 @@
#ifdef HAVE_TERMIOS_H
#ifdef HAVE_TERMIOS_H
#include <termios.h>
#include <termios.h>
#else
#ifdef WIN32
#include <windows.h>
#undef ERROR
#endif
#endif
#endif
bool
prompt_state
=
false
;
bool
prompt_state
=
false
;
...
...
src/timezone/zic.c
View file @
32b24bfa
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* 1996-06-05 by Arthur David Olson (arthur_david_olson@nih.gov).
* 1996-06-05 by Arthur David Olson (arthur_david_olson@nih.gov).
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/timezone/zic.c,v 1.1
2 2004/08/29 05:07:02
momjian Exp $
* $PostgreSQL: pgsql/src/timezone/zic.c,v 1.1
3 2004/09/27 19:16:03
momjian Exp $
*/
*/
#include "postgres.h"
#include "postgres.h"
...
@@ -18,10 +18,6 @@
...
@@ -18,10 +18,6 @@
#include "private.h"
#include "private.h"
#include "tzfile.h"
#include "tzfile.h"
#ifdef WIN32
#include <windows.h>
#endif
#ifdef HAVE_SYS_STAT_H
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#include <sys/stat.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