diff options
author | Bruce Momjian <bruce@momjian.us> | 1998-02-26 04:46:47 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1998-02-26 04:46:47 +0000 |
commit | a32450a5855eed4bfd756ef292ee45d3c754665b (patch) | |
tree | 26735c3406d9f46d0f39accbe6ff1fb5cc5beedc /src/include/port | |
parent | 757bf69a2e259c76baed94fa06e792664ab5ed67 (diff) | |
download | postgresql-a32450a5855eed4bfd756ef292ee45d3c754665b.tar.gz postgresql-a32450a5855eed4bfd756ef292ee45d3c754665b.zip |
pgindent run before 6.3 release, with Thomas' requested changes.
Diffstat (limited to 'src/include/port')
-rw-r--r-- | src/include/port/bsd.h | 2 | ||||
-rw-r--r-- | src/include/port/linux.h | 16 | ||||
-rw-r--r-- | src/include/port/univel.h | 9 |
3 files changed, 17 insertions, 10 deletions
diff --git a/src/include/port/bsd.h b/src/include/port/bsd.h index f64ea094563..03c99acd873 100644 --- a/src/include/port/bsd.h +++ b/src/include/port/bsd.h @@ -25,6 +25,6 @@ #endif #if defined(__mips__) -/* # undef HAS_TEST_AND_SET */ +/* # undef HAS_TEST_AND_SET */ #endif typedef unsigned char slock_t; diff --git a/src/include/port/linux.h b/src/include/port/linux.h index 727260a6d6e..1a7f74b8b98 100644 --- a/src/include/port/linux.h +++ b/src/include/port/linux.h @@ -12,18 +12,24 @@ #if defined(PPC) typedef unsigned int slock_t; + #elif defined(__alpha__) typedef long int slock_t; + #else typedef unsigned char slock_t; + #endif #if (__GLIBC__ >= 2) -# ifdef HAVE_INT_TIMEZONE -# undef HAVE_INT_TIMEZONE -# endif - /* currently undefined as I (teunis@computersupportcentre.com) have not - checked this yet */ +#ifdef HAVE_INT_TIMEZONE +#undef HAVE_INT_TIMEZONE +#endif + + /* + * currently undefined as I (teunis@computersupportcentre.com) have not + * checked this yet + */ /* #define HAVE_SIGSETJMP 1 */ #endif diff --git a/src/include/port/univel.h b/src/include/port/univel.h index 028c8859bfb..a7daf59460d 100644 --- a/src/include/port/univel.h +++ b/src/include/port/univel.h @@ -7,14 +7,15 @@ #define NEED_I386_TAS_ASM /*************************************** * Define this if you are compiling with - * the native UNIXWARE C compiler. + * the native UNIXWARE C compiler. ***************************************/ -#define USE_UNIVEL_CC_ASM +#define USE_UNIVEL_CC_ASM typedef unsigned char slock_t; + /*************************************************************** - * strcasecmp() is in c89, but is not in any include file :-( + * strcasecmp() is in c89, but is not in any include file :-( ***************************************************************/ -int strcasecmp(char *, char *); +int strcasecmp(char *, char *); #ifndef BIG_ENDIAN #define BIG_ENDIAN 4321 |