summaryrefslogtreecommitdiffstats
path: root/games/maelstrom/files/patch-aa
blob: bcc988814739851a24bc50b30e44958430ac605c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- mixer.cpp	Thu Dec  5 13:14:44 1996
+++ /home/andy/tmp/wrk/mixer.cpp	Wed May 13 23:06:18 1998
@@ -283,10 +283,12 @@
 #endif /* linux */
 
 	/* This is necessary so that the sound server stays in sync */
+#ifndef __FreeBSD__
 	long flags;
 	flags = fcntl(dsp_fd, F_GETFL, 0);
 	flags |= O_SYNC;
 	(void) fcntl(dsp_fd, F_SETFL, flags);
+#endif
 
 	return(0);
 }
OpenPOWER on IntegriCloud