diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-02-11 21:54:51 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-02-11 21:58:39 +0100 |
commit | 6b1ec8b3d75bc7ff6f3180d457755324d328892d (patch) | |
tree | ecbee0bb446fb61c169104dffeb2786810efcc1b /crawl-ref/source/threads.h | |
parent | 20092bb18f2d6c64517bb0e5996b9973f33b69cc (diff) | |
download | crawl-ref-6b1ec8b3d75bc7ff6f3180d457755324d328892d.tar.gz crawl-ref-6b1ec8b3d75bc7ff6f3180d457755324d328892d.zip |
Drop LinuxThreads support, unbreak BSD.
This could be done via a compilation check -- to catch
PTHREAD_MUTEX_RECURSIVE being an enum rather than a #define.
Too bad, our Makefile makes compilation checks hard, slow and unwieldy.
Thus, I hope no one cares about systems that ancient.
Diffstat (limited to 'crawl-ref/source/threads.h')
-rw-r--r-- | crawl-ref/source/threads.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/threads.h b/crawl-ref/source/threads.h index 1aa304219b..250876ea5a 100644 --- a/crawl-ref/source/threads.h +++ b/crawl-ref/source/threads.h @@ -10,10 +10,10 @@ // AIX # define PTHREAD_CREATE_UNDETACHED #endif -#ifndef PTHREAD_MUTEX_RECURSIVE -// LinuxThreads, probably gone from any semi-modern system -# define PTHREAD_MUTEX_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP -#endif +//#ifndef PTHREAD_MUTEX_RECURSIVE +//// LinuxThreads, probably gone from any semi-modern system +//# define PTHREAD_MUTEX_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP +//#endif #define mutex_t pthread_mutex_t #define mutex_lock(x) pthread_mutex_lock(&x) |