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
feb5a2cf
Commit
feb5a2cf
authored
27 years ago
by
Marc G. Fournier
Browse files
Options
Downloads
Patches
Plain Diff
Fix for various aix related 'mis-defines'
From: Darren King <darrenk@insightdist.com>
parent
ea514d2e
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/include/storage/s_lock.h
+3
-3
3 additions, 3 deletions
src/include/storage/s_lock.h
src/include/utils/dt.h
+3
-3
3 additions, 3 deletions
src/include/utils/dt.h
src/include/utils/nabstime.h
+3
-3
3 additions, 3 deletions
src/include/utils/nabstime.h
with
9 additions
and
9 deletions
src/include/storage/s_lock.h
+
3
−
3
View file @
feb5a2cf
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.2
1
1998/0
1/26
0
1
:0
1:37 momjian
Exp $
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.2
2
1998/0
2/03
0
2
:0
8:58 scrappy
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -141,7 +141,7 @@ static int tas(slock_t *lock);
* (see storage/ipc.h).
*/
#if defined(
aix
)
#if defined(
__AIX
)
#define S_LOCK(lock) do \
{ \
...
...
@@ -153,7 +153,7 @@ static int tas(slock_t *lock);
#define S_INIT_LOCK(lock) S_UNLOCK(lock)
#endif
/*
aix
*/
#endif
/*
__AIX
*/
/*
* HP-UX (PA-RISC)
...
...
This diff is collapsed.
Click to expand it.
src/include/utils/dt.h
+
3
−
3
View file @
feb5a2cf
...
...
@@ -8,7 +8,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: dt.h,v 1.2
5
1998/0
1/24 22:50:39 momjian
Exp $
* $Id: dt.h,v 1.2
6
1998/0
2/03 02:09:02 scrappy
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -187,11 +187,11 @@ typedef struct
/* keep this struct small; it gets used a lot */
typedef
struct
{
#if defined(
aix
)
#if defined(
__AIX
)
char
*
token
;
#else
char
token
[
TOKMAXLEN
];
#endif
/*
aix
*/
#endif
/*
__AIX
*/
char
type
;
char
value
;
/* this may be unsigned, alas */
}
datetkn
;
...
...
This diff is collapsed.
Click to expand it.
src/include/utils/nabstime.h
+
3
−
3
View file @
feb5a2cf
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: nabstime.h,v 1.1
3
199
7
/0
9
/0
8 21:55:13 momjian
Exp $
* $Id: nabstime.h,v 1.1
4
199
8
/0
2
/0
3 02:09:08 scrappy
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -53,7 +53,7 @@ typedef TimeIntervalData *TimeInterval;
#define BIG_ABSTIME ((AbsoluteTime) 0x7FFFFFFB)
/* 2147483644 == 2^31 -
* 4 */
#if defined(
aix
)
#if defined(
__AIX
)
/*
* AIX considers 2147483648 == -2147483648 (since they have the same bit
* representation) but uses a different sign sense in a comparison to
...
...
@@ -63,7 +63,7 @@ typedef TimeIntervalData *TimeInterval;
#define NOSTART_ABSTIME ((AbsoluteTime) INT_MIN)
#else
#define NOSTART_ABSTIME ((AbsoluteTime) 0x80000001)
/* -2147483647 == - 2^31 */
#endif
/*
aix
*/
#endif
/*
__AIX
*/
#define INVALID_RELTIME ((RelativeTime) 0x7FFFFFFE)
/* 2147483647 == 2^31 -
* 1 */
...
...
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