summaryrefslogtreecommitdiff
path: root/src/include/port/linux.h
diff options
context:
space:
mode:
authorMarc G. Fournier1997-04-12 10:21:55 +0000
committerMarc G. Fournier1997-04-12 10:21:55 +0000
commit7113e880b8e97e1b26dbbf91a025263311eb6812 (patch)
treecf08805340d46e419a24c5b7f05cad5d5bc7453a /src/include/port/linux.h
parent9956fa056a2f9456683135f0a4045abf9bbcdac2 (diff)
More more of the include files under the include directory
Diffstat (limited to 'src/include/port/linux.h')
-rw-r--r--src/include/port/linux.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/port/linux.h b/src/include/port/linux.h
new file mode 100644
index 00000000000..fa311d984fe
--- /dev/null
+++ b/src/include/port/linux.h
@@ -0,0 +1,14 @@
+/* __USE_POSIX, __USE_BSD, and __USE_BSD_SIGNAL used to be defined either
+ here or with -D compile options, but __ macros should be set and used by C
+ library macros, not Postgres code. __USE_POSIX is set by features.h,
+ __USE_BSD is set by bsd/signal.h, and __USE_BSD_SIGNAL appears not to
+ be used.
+*/
+# define JMP_BUF
+# define USE_POSIX_TIME
+# define USE_POSIX_SIGNALS
+# if !defined(PPC)
+# define NEED_I386_TAS_ASM
+# define HAS_TEST_AND_SET
+ typedef unsigned char slock_t;
+# endif