mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 23:11:41 +00:00
build issue with OSS on OpenSolaris and kfreebsd-*
Hopefully fixes both: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690006 and 9800764026
This commit is contained in:
parent
b456e88efc
commit
0ae6550bce
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@
|
|||
#define BUFFER_LENGTH 512
|
||||
|
||||
// Build issue on some systems (OSS 4.0)?
|
||||
#ifdef SNDCTL_DSP_CHANNELS
|
||||
#if !defined(SOUND_PCM_WRITE_CHANNELS) && defined(SNDCTL_DSP_CHANNELS)
|
||||
#define SOUND_PCM_WRITE_CHANNELS SNDCTL_DSP_CHANNELS
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue