aboutsummaryrefslogtreecommitdiff
path: root/sonogram~/sonogram~.c
diff options
context:
space:
mode:
authorcarmen rocco <ix9@users.sourceforge.net>2004-05-30 05:20:01 +0000
committercarmen rocco <ix9@users.sourceforge.net>2004-05-30 05:20:01 +0000
commit18230ab52e858c7cb21b7685cff05f05bd9d864e (patch)
tree00fca92c94560bb891b85894bf0b686a9f8eb8da /sonogram~/sonogram~.c
parente9edaae480da9644c4377bd6eaa8d940ee17e4e2 (diff)
trying out the roast of these NT Tweak .
svn path=/trunk/externals/unauthorized/; revision=1793
Diffstat (limited to 'sonogram~/sonogram~.c')
-rw-r--r--sonogram~/sonogram~.c7
1 files changed, 6 insertions, 1 deletions
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 <unistd.h>
#endif
#ifdef NT
-#define M_PI 3.14159265358979323846
+#define random rand
+#include <windows.h>
+static int usleep (unsigned int us) {
+ Sleep((long)(us/1000.));
+ return 0;
+}
#endif
#include <math.h>