diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-12-09 21:49:52 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-12-09 21:49:52 +0100 |
commit | a42fbcc9dd03a6a6c24b494b683b370bd5173335 (patch) | |
tree | 4470e5a2b60191e06bad160f115f5fe236290f98 | |
parent | 36ea0ca71233cc97af753e8a756fdbacb37384ba (diff) |
Use common mutex inialiser for Linux and FreeBSD.
-rw-r--r-- | hugin.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -92,10 +92,8 @@ void mutex_unlock(mutex_t *mutex) #ifdef WIN32 #define MUTEX_INIT_VALUE 0 -#elif __FreeBSD__ -#define MUTEX_INIT_VALUE 0 #else -#define MUTEX_INIT_VALUE {} +#define MUTEX_INIT_VALUE PTHREAD_MUTEX_INITIALIZER #endif #else/*WITH_HUG_MUTEX*/ |