aboutsummaryrefslogtreecommitdiff
path: root/src/include/port/linux.h
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1998-04-29 12:41:29 +0000
committerMarc G. Fournier <scrappy@hub.org>1998-04-29 12:41:29 +0000
commit51a1741cfb9f812e798681d3edf5866e413f155b (patch)
tree034dacbe407d11c81e521b87a9a41f7bcca373f6 /src/include/port/linux.h
parentbab9818c4ba9a636ab1d638c3cf096f90cd66351 (diff)
downloadpostgresql-51a1741cfb9f812e798681d3edf5866e413f155b.tar.gz
postgresql-51a1741cfb9f812e798681d3edf5866e413f155b.zip
From: Jeroen van Vianen <jeroenv@design.nl>
Attached patch will add a version() function to Postges, e.g. template1=> select version(); version ------------------------------------------------------------ PostgreSQL 6.3.2 on i586-pc-linux-gnu, compiled by gcc 2.8.1 (1 row)
Diffstat (limited to 'src/include/port/linux.h')
-rw-r--r--src/include/port/linux.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/port/linux.h b/src/include/port/linux.h
index b2a9cd1cb0a..437ee723122 100644
--- a/src/include/port/linux.h
+++ b/src/include/port/linux.h
@@ -7,7 +7,6 @@
#define JMP_BUF
#define USE_POSIX_TIME
#define USE_POSIX_SIGNALS
-#define NEED_I386_TAS_ASM
#define HAS_TEST_AND_SET
#if defined(PPC)
@@ -16,7 +15,7 @@ typedef unsigned int slock_t;
#elif defined(__alpha)
typedef long int slock_t;
-#else
+#else /* i386 probably */
typedef unsigned char slock_t;
#endif