13 lines
545 B
Text
13 lines
545 B
Text
$NetBSD: patch-ae,v 1.2 1998/08/07 10:36:23 agc Exp $
|
|
|
|
--- orig/xwave/src/button.c Tue Nov 19 13:27:11 1996
|
|
+++ src/button.c Sat Sep 13 04:19:49 1997
|
|
@@ -521,7 +521,7 @@
|
|
now_clock=clock();
|
|
sample_time=(float)md->wd->tlength/(float)md->wd->freq;
|
|
|
|
-#if defined(linux) || defined (FreeBSD) || defined(sun)
|
|
+#if defined(linux) || defined (FreeBSD) || defined(sun) || defined(__NetBSD__)
|
|
gone_time=(float)(now_clock-start_clock)/(float)CLOCKS_PER_SEC;
|
|
#elif defined(sgi)
|
|
gone_time=(float)(now_clock-start_clock)/(float)750000;
|