aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xwave/files/patch-src_button.c
blob: 5f84bced7d16bda177682710e190756d64897a5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/button.c.orig   1998-11-08 23:22:55 UTC
+++ src/button.c
@@ -679,7 +679,7 @@ Boolean set_playline(XtPointer client_da
     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)
     gone_time=(float)(now_clock-start_clock)/(float)CLOCKS_PER_SEC;
 #elif defined(sgi)
     gone_time=(float)(now_clock-start_clock)/(float)750000;