From 18230ab52e858c7cb21b7685cff05f05bd9d864e Mon Sep 17 00:00:00 2001 From: carmen rocco Date: Sun, 30 May 2004 05:20:01 +0000 Subject: trying out the roast of these NT Tweak . svn path=/trunk/externals/unauthorized/; revision=1793 --- sonogram~/sonogram~-yves.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sonogram~/sonogram~-yves.c') diff --git a/sonogram~/sonogram~-yves.c b/sonogram~/sonogram~-yves.c index 02e5f47..df957b1 100644 --- a/sonogram~/sonogram~-yves.c +++ b/sonogram~/sonogram~-yves.c @@ -46,7 +46,12 @@ #include #endif #ifdef NT -#define M_PI 3.14159265358979323846 +#define random rand +#include +static int usleep (unsigned int us) { + Sleep((long)(us/1000.)); + return 0; +} #endif #include -- cgit v1.2.1