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~.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sonogram~/sonogram~.c') diff --git a/sonogram~/sonogram~.c b/sonogram~/sonogram~.c index a0b8472..7a41da7 100644 --- a/sonogram~/sonogram~.c +++ b/sonogram~/sonogram~.c @@ -44,7 +44,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