diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2000-10-31 19:55:20 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2000-10-31 19:55:20 +0000 |
commit | b99ee7f37d41803ac643d525c4e700644ddb6030 (patch) | |
tree | 8ed656fc59d04e2cdbb55cf5f98a827d2fdf779b /src/include/port/darwin.h | |
parent | dc0f5cb09025bf8c5cc3900bfa4738a83457028f (diff) |
This is the minimal version of the Darwin support patch from
Bruce Hartzler <bruceh@mail.utexas.edu>. It contains shared library
support, regression test map, and the usual template files. The dynamic
loader is missing, the spin lock code apparently doesn't assemble due to
syntax problems, and semaphores are to be hoped for from Apple.
Diffstat (limited to 'src/include/port/darwin.h')
-rw-r--r-- | src/include/port/darwin.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/port/darwin.h b/src/include/port/darwin.h new file mode 100644 index 00000000000..597b998a017 --- /dev/null +++ b/src/include/port/darwin.h @@ -0,0 +1,6 @@ +#define HAS_TEST_AND_SET +#if defined(__powerpc__) +typedef unsigned int slock_t; +#else +typedef unsigned char slock_t; +#endif |