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
fada8ee4
Commit
fada8ee4
authored
Dec 31, 2000
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NetBSD/Alpha porting fixes from tom@minnesota.com.
parent
4723b2b9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
7 deletions
+14
-7
src/backend/main/main.c
src/backend/main/main.c
+5
-2
src/include/port/netbsd.h
src/include/port/netbsd.h
+9
-5
No files found.
src/backend/main/main.c
View file @
fada8ee4
...
...
@@ -13,7 +13,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.3
5 2000/11/25 03:45:47
tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.3
6 2000/12/31 03:34:01
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -25,13 +25,16 @@
#include <locale.h>
#endif
#if defined(__alpha) && !defined(linux) && !defined(__FreeBSD__)
#if defined(__alpha) && !defined(linux) && !defined(__FreeBSD__)
&& !defined(__NetBSD__)
#include <sys/sysinfo.h>
#include "machine/hal_sysinfo.h"
#define ASSEMBLER
#include <sys/proc.h>
#undef ASSEMBLER
#endif
#if defined(__NetBSD__)
#include <sys/param.h>
#endif
#include "miscadmin.h"
#include "bootstrap/bootstrap.h"
...
...
src/include/port/netbsd.h
View file @
fada8ee4
#if defined(__i386__)
#define NEED_I386_TAS_ASM
#define HAS_TEST_AND_SET
typedef
unsigned
char
slock_t
;
#endif
#if defined(__sparc__)
#define NEED_SPARC_TAS_ASM
#define HAS_TEST_AND_SET
typedef
unsigned
char
slock_t
;
#endif
#if defined(__vax__)
#define NEED_VAX_TAS_ASM
#define HAS_TEST_AND_SET
typedef
unsigned
char
slock_t
;
#endif
#if defined(__ns32k__)
#define NEED_NS32K_TAS_ASM
#define HAS_TEST_AND_SET
typedef
unsigned
char
slock_t
;
#endif
#if defined(__m68k__)
#define HAS_TEST_AND_SET
typedef
unsigned
char
slock_t
;
#endif
#if defined(__arm__)
#define HAS_TEST_AND_SET
typedef
unsigned
char
slock_t
;
#endif
#if defined(__mips__)
/* # undef HAS_TEST_AND_SET */
#endif
#if defined(__
powerpc
__)
#if defined(__
alpha
__)
#define HAS_TEST_AND_SET
typedef
unsigned
long
slock_t
;
#endif
#if defined(__powerpc__)
#define HAS_TEST_AND_SET
typedef
unsigned
int
slock_t
;
#else
typedef
unsigned
char
slock_t
;
#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