Commit 1d5d2378 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

winecoreaudio.drv: Do nothing if HAVE_AUDIOUNIT_AUDIOUNIT_H is not defined.

parent a3a2506d
......@@ -19,14 +19,15 @@
*/
#include "config.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(wave);
#ifdef HAVE_AUDIOUNIT_AUDIOUNIT_H
#include <AudioUnit/AudioUnit.h>
#include <AudioToolbox/AudioToolbox.h>
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(wave);
WINE_DECLARE_DEBUG_CHANNEL(midi);
extern OSStatus CoreAudio_woAudioUnitIOProc(void *inRefCon,
......
......@@ -20,16 +20,18 @@
#include "config.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(midi);
#ifdef HAVE_COREAUDIO_COREAUDIO_H
#include <CoreMIDI/CoreMIDI.h>
#include <mach/mach_time.h>
#include "coremidi.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(midi);
MIDIClientRef CoreMIDI_CreateClient(CFStringRef name)
{
MIDIClientRef client = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment