diff options
author | rpj <rpj> | 2011-02-27 01:09:58 +0000 |
---|---|---|
committer | rpj <rpj> | 2011-02-27 01:09:58 +0000 |
commit | 028341171af582246b1703ec4882e277e2dd98d4 (patch) | |
tree | e7df2ba574d976ecec9b2d0389e58bf1b4471227 /tests | |
parent | bb2b1e98aaa1d48662b3a7b8332dd2032991ddfc (diff) |
Removed non-thread POSIX compatibility macros
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 <stdint.h> #elif defined(__BORLANDC__) |