- Patch from Ulrich, because "FreeBSD 5.x doesn't have this

nasty bug."
This commit is contained in:
Jamie Wilkinson 2002-11-05 12:38:31 +00:00
parent fb673df934
commit a937e44276

View file

@ -416,7 +416,7 @@ qboolean SNDDMA_Init(void) {
if (!dma.buffer) {
dma.buffer = (unsigned char *) mmap(NULL, info.fragstotal * info.fragsize,
#ifdef __FreeBSD__
#if defined(__FreeBSD__) && (__FreeBSD_version < 500000)
PROT_READ|PROT_WRITE,
#else
PROT_WRITE,