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
2def476d
Commit
2def476d
authored
20 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused Win32 defines, convert them to typdefs, per suggestion
from Peter.
parent
a79f8195
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/include/port/qnx4.h
+0
-2
0 additions, 2 deletions
src/include/port/qnx4.h
src/include/port/win32.h
+4
-10
4 additions, 10 deletions
src/include/port/win32.h
with
4 additions
and
12 deletions
src/include/port/qnx4.h
+
0
−
2
View file @
2def476d
...
@@ -7,8 +7,6 @@
...
@@ -7,8 +7,6 @@
#undef HAVE_GETRUSAGE
#undef HAVE_GETRUSAGE
typedef
u_short
ushort
;
extern
int
isnan
(
double
dsrc
);
extern
int
isnan
(
double
dsrc
);
extern
long
random
(
void
);
extern
long
random
(
void
);
extern
void
srandom
(
unsigned
int
seed
);
extern
void
srandom
(
unsigned
int
seed
);
This diff is collapsed.
Click to expand it.
src/include/port/win32.h
+
4
−
10
View file @
2def476d
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.3
4
2004/
09/27 23:24:40
momjian Exp $ */
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.3
5
2004/
10/05 13:48:35
momjian Exp $ */
/* undefine and redefine after #include */
/* undefine and redefine after #include */
#undef mkdir
#undef mkdir
...
@@ -191,18 +191,12 @@ struct itimerval
...
@@ -191,18 +191,12 @@ struct itimerval
int
setitimer
(
int
which
,
const
struct
itimerval
*
value
,
struct
itimerval
*
ovalue
);
int
setitimer
(
int
which
,
const
struct
itimerval
*
value
,
struct
itimerval
*
ovalue
);
/* FROM SRA */
/*
/*
* Supplement to <sys/types.h>.
* Supplement to <sys/types.h>.
*/
*/
#define uid_t int
typedef
int
uid_t
;
#define gid_t int
typedef
int
gid_t
;
#define pid_t unsigned long
typdef
long
key_t
;
#define ssize_t int
#define mode_t int
#define key_t long
#define ushort unsigned short
/*
/*
* Supplement to <sys/stat.h>.
* Supplement to <sys/stat.h>.
...
...
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