Skip to content

Commit

Permalink
Fix build with some OSSv4 variant
Browse files Browse the repository at this point in the history
Reported by S Christian Collins.
  • Loading branch information
diwic committed Jul 30, 2012
1 parent e70f2a6 commit 9800764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fluidsynth/src/drivers/fluid_oss.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
#define BUFFER_LENGTH 512

// Build issue on some systems (OSS 4.0)?
#ifndef SOUND_PCM_WRITE_CHANNELS
#ifdef SNDCTL_DSP_CHANNELS
#define SOUND_PCM_WRITE_CHANNELS SNDCTL_DSP_CHANNELS
#endif

Expand Down

0 comments on commit 9800764

Please sign in to comment.