From 028341171af582246b1703ec4882e277e2dd98d4 Mon Sep 17 00:00:00 2001 From: rpj Date: Sun, 27 Feb 2011 01:09:58 +0000 Subject: Removed non-thread POSIX compatibility macros --- tests/test.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests') diff --git a/tests/test.h b/tests/test.h index 56fa335..dc63eb4 100644 --- a/tests/test.h +++ b/tests/test.h @@ -47,6 +47,12 @@ #define PTW32_THREAD_NULL_ID {NULL,0} +/* + * Some non-thread POSIX API substitutes + */ +#define rand_r( _seed ) \ + ( _seed == _seed? rand() : rand() ) + #if defined(__MINGW32__) #include #elif defined(__BORLANDC__) -- cgit v1.2.3