git-svn-id: http://svn.openzap.org/svn/openzap/trunk@708 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Stefan Knoblich 2009-04-08 22:19:11 +00:00
parent d5b33bf982
commit 9cb2273f8a

View File

@ -168,15 +168,13 @@
#include "zap_buffer.h"
#include "zap_threadmutex.h"
#define XX if (0)
#ifdef __WINDOWS__
#define zap_sleep(x) Sleep(x)
#else
#define zap_sleep(x) usleep(x * 1000)
#endif
#ifdef NDEBUG
#ifdef NDEBUG
#undef assert
#define assert(_Expression) ((void)(_Expression))
#endif