]> granicus.if.org Git - postgresql/commitdiff
Missed one more required file...
authorMarc G. Fournier <scrappy@hub.org>
Tue, 27 Oct 1998 04:42:59 +0000 (04:42 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Tue, 27 Oct 1998 04:42:59 +0000 (04:42 +0000)
src/include/port/freebsd.h [new file with mode: 0644]

diff --git a/src/include/port/freebsd.h b/src/include/port/freebsd.h
new file mode 100644 (file)
index 0000000..4e754e7
--- /dev/null
@@ -0,0 +1,30 @@
+#define USE_POSIX_TIME
+
+#if defined(i386)
+#define NEED_I386_TAS_ASM
+#define HAS_TEST_AND_SET
+#endif
+
+#if defined(sparc)
+#define NEED_SPARC_TAS_ASM
+#define HAS_TEST_AND_SET
+#endif
+
+#if defined(vax)
+#define NEED_VAX_TAS_ASM
+#define HAS_TEST_AND_SET
+#endif
+
+#if defined(__ns32k__)
+#define NEED_NS32K_TAS_ASM
+#define HAS_TEST_AND_SET
+#endif
+
+#if defined(__m68k__)
+#define HAS_TEST_AND_SET
+#endif
+
+#if defined(__mips__)
+/* #   undef HAS_TEST_AND_SET */
+#endif
+typedef unsigned char slock_t;