提交 9ef38dfc authored 作者: Anthony Minessale's avatar Anthony Minessale

fix compile

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5145 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 353fb3df
...@@ -29,7 +29,7 @@ struct mutex { ...@@ -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) ...@@ -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:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论