diff options
author | Bruce Momjian | 2000-11-16 05:51:07 +0000 |
---|---|---|
committer | Bruce Momjian | 2000-11-16 05:51:07 +0000 |
commit | 312063c97be346c3ce01faff021e9bff0464fa5c (patch) | |
tree | a4b33aa5242b3e1172379308804f3b06a89857bc /src/backend/main | |
parent | 580d2bc60f0e225e3fffc4da81039cf28e249749 (diff) |
Make pgsql compile on FreeBSD-alpha.
Context diff this time.
Remove -m486 compile args for FreeBSD-i386, compile -O2 on i386.
Compile with only -O on alpha for codegen safety.
Make the port use the TEST_AND_SET for alpha and i386 on FreeBSD.
Fix a lot of bogus string formats for outputting pointers (cast to int
and %u/%x replaced with no cast and %p), and 'Size'(size_t) are now
cast to 'unsigned long' and output with %lu/
Remove an unused variable.
Alfred Perlstein
Diffstat (limited to 'src/backend/main')
-rw-r--r-- | src/backend/main/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/main/main.c b/src/backend/main/main.c index 9e2543b3b14..475050097dc 100644 --- a/src/backend/main/main.c +++ b/src/backend/main/main.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.33 2000/10/21 22:36:11 petere Exp $ + * $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.34 2000/11/16 05:51:00 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -17,7 +17,7 @@ #include <pwd.h> #include <unistd.h> -#if defined(__alpha) && !defined(linux) +#if defined(__alpha) && !defined(linux) && !defined(__FreeBSD__) #include <sys/sysinfo.h> #include "machine/hal_sysinfo.h" #define ASSEMBLER |