summaryrefslogtreecommitdiff
path: root/src/template/darwin
Commit message (Collapse)AuthorAgeFilesLines
* Unconditionally define:Bruce Momjian2004-04-261-3/+0
| | | | | | | | | | -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS for all ports. It can't hurt if they are not supported, but it makes our job easier for porting. Should fix Darwin compile and other platforms without mucking with the thread detection code.
* Add new auto-detection of thread flags.Bruce Momjian2004-04-231-8/+1
| | | | | | | Allow additional thread flags to be added via port templates. Change thread flag names to PTHREAD_CFLAGS and PTHREAD_LIBS to match new configure script.
* Update Darwin thread compile flags, and OS version info.Bruce Momjian2004-04-071-0/+3
|
* Update darwin OS version.Bruce Momjian2004-04-071-1/+1
|
* Update Darwin as thread-safe.Bruce Momjian2004-04-071-0/+7
|
* Latest version of gcc from Apple does not work well with -traditional-cppTom Lane2003-09-191-3/+3
| | | | | | | (it rejects some system header files...). Use -no-cpp-precomp instead. I think it is okay to change this unconditionally, but if we hear complaints from people still using very old compilers on Darwin, we could put in a test to see which switch the compiler likes.
* Create an internal semaphore API that is not tied to SysV semaphores.Tom Lane2002-05-051-0/+3
| | | | | | As proof of concept, provide an alternate implementation based on POSIX semaphores. Also push the SysV shared-memory implementation into a separate file so that it can be replaced conveniently.
* Darwin porting patches from Peter Bierman <bierman@apple.com>Tom Lane2000-12-111-3/+2
|
* This is the minimal version of the Darwin support patch fromPeter Eisentraut2000-10-311-0/+4
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.