summaryrefslogtreecommitdiff
path: root/src/include/port/sunos4.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/port/sunos4.h')
-rw-r--r--src/include/port/sunos4.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/port/sunos4.h b/src/include/port/sunos4.h
index f08580cfafc..e9c0ec29d44 100644
--- a/src/include/port/sunos4.h
+++ b/src/include/port/sunos4.h
@@ -1,4 +1,9 @@
#define USE_POSIX_TIME
+#define HAS_TEST_AND_SET
+typedef unsigned char slock_t;
+
+/* sprintf() returns char *, not int, on SunOS 4.1.x */
+#define SPRINTF_CHAR
#ifndef BIG_ENDIAN
#define BIG_ENDIAN 4321