mirror of
https://git.code.sf.net/p/quake/quake2forge
synced 2024-12-13 06:01:19 +00:00
- Patch from Ulrich, because "FreeBSD 5.x doesn't have this
nasty bug."
This commit is contained in:
parent
fb673df934
commit
a937e44276
1 changed files with 1 additions and 1 deletions
|
@ -416,7 +416,7 @@ qboolean SNDDMA_Init(void) {
|
||||||
|
|
||||||
if (!dma.buffer) {
|
if (!dma.buffer) {
|
||||||
dma.buffer = (unsigned char *) mmap(NULL, info.fragstotal * info.fragsize,
|
dma.buffer = (unsigned char *) mmap(NULL, info.fragstotal * info.fragsize,
|
||||||
#ifdef __FreeBSD__
|
#if defined(__FreeBSD__) && (__FreeBSD_version < 500000)
|
||||||
PROT_READ|PROT_WRITE,
|
PROT_READ|PROT_WRITE,
|
||||||
#else
|
#else
|
||||||
PROT_WRITE,
|
PROT_WRITE,
|
||||||
|
|
Loading…
Reference in a new issue