mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 16:58:35 +00:00
clean up
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@708 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
59fa196533
commit
688a975079
@ -168,15 +168,13 @@
|
|||||||
#include "zap_buffer.h"
|
#include "zap_buffer.h"
|
||||||
#include "zap_threadmutex.h"
|
#include "zap_threadmutex.h"
|
||||||
|
|
||||||
#define XX if (0)
|
|
||||||
|
|
||||||
#ifdef __WINDOWS__
|
#ifdef __WINDOWS__
|
||||||
#define zap_sleep(x) Sleep(x)
|
#define zap_sleep(x) Sleep(x)
|
||||||
#else
|
#else
|
||||||
#define zap_sleep(x) usleep(x * 1000)
|
#define zap_sleep(x) usleep(x * 1000)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef NDEBUG
|
#ifdef NDEBUG
|
||||||
#undef assert
|
#undef assert
|
||||||
#define assert(_Expression) ((void)(_Expression))
|
#define assert(_Expression) ((void)(_Expression))
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user