aboutsummaryrefslogtreecommitdiff
path: root/src/include/port/darwin.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-12-11 00:49:54 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-12-11 00:49:54 +0000
commit41fe2a2a03d91dc836a83bbd78190c36fd54541f (patch)
treec7354872f5ca50dbd180fa36ebb9d8ad3114376d /src/include/port/darwin.h
parent839de3c577d6ed67543aeff47c3adb2e7d7543da (diff)
downloadpostgresql-41fe2a2a03d91dc836a83bbd78190c36fd54541f.tar.gz
postgresql-41fe2a2a03d91dc836a83bbd78190c36fd54541f.zip
Darwin porting patches from Peter Bierman <bierman@apple.com>
Diffstat (limited to 'src/include/port/darwin.h')
-rw-r--r--src/include/port/darwin.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/port/darwin.h b/src/include/port/darwin.h
index 597b998a017..5d5072aa550 100644
--- a/src/include/port/darwin.h
+++ b/src/include/port/darwin.h
@@ -1,5 +1,10 @@
+#define __darwin__ 1
+
+#if defined(__ppc__)
#define HAS_TEST_AND_SET
-#if defined(__powerpc__)
+#endif
+
+#if defined(__ppc__)
typedef unsigned int slock_t;
#else
typedef unsigned char slock_t;