translate_test: fix compilation on non-POSIX platforms
authorLuca Barbieri <luca@luca-barbieri.com>
Thu, 12 Aug 2010 20:07:37 +0000 (22:07 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Thu, 12 Aug 2010 20:10:09 +0000 (22:10 +0200)
commitb9abe7f62c09c0395214b9447032323b3846b2cf
tree17f44232c2831917827a350f99beac2a83f8f8f9
parent4d946c4e8adf3f0ac447b6a9a6caf17392b816cd
translate_test: fix compilation on non-POSIX platforms

Use a kludgy function based on rand() instead of drand48()
src/gallium/tests/unit/translate_test.c