mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-16 13:10:05 +00:00
fix compile
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5145 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
353fb3dfbb
commit
9ef38dfce8
@ -29,7 +29,7 @@ struct mutex {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
#define _XOPEN_SOURCE 600
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
struct mutex {
|
struct mutex {
|
||||||
pthread_mutex_t mutex;
|
pthread_mutex_t mutex;
|
||||||
@ -64,7 +64,7 @@ mutex_status_t iax_mutex_create(mutex_t **mutex)
|
|||||||
goto success;
|
goto success;
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
pthread_mutexattr_destroy(&mattr);
|
pthread_mutexattr_destroy(&attr);
|
||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
success:
|
success:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user