Commit 19f18657 authored by Sam Lantinga's avatar Sam Lantinga

Fixed build issues on Mac OS X

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402322
parent 68348a9f
...@@ -128,7 +128,7 @@ build_device_list(int iscapture, COREAUDIO_DeviceList ** devices, ...@@ -128,7 +128,7 @@ build_device_list(int iscapture, COREAUDIO_DeviceList ** devices,
size = sizeof(CFStringRef); size = sizeof(CFStringRef);
result = AudioDeviceGetProperty(dev, 0, iscapture, result = AudioDeviceGetProperty(dev, 0, iscapture,
kAudioObjectPropertyName, kAudioDevicePropertyDeviceNameCFString,
&size, &cfstr); &size, &cfstr);
if (result != kAudioHardwareNoError) if (result != kAudioHardwareNoError)
......
This diff is collapsed.
...@@ -39,7 +39,11 @@ ...@@ -39,7 +39,11 @@
/* The header was moved here in Mac OS X 10.1 */ /* The header was moved here in Mac OS X 10.1 */
#include <Kernel/IOKit/hidsystem/IOHIDUsageTables.h> #include <Kernel/IOKit/hidsystem/IOHIDUsageTables.h>
#endif #endif
#if MAC_OS_X_VERSION_MIN_REQUIRED == 1030
#include "10.3.9-FIX/IOHIDLib.h"
#else
#include <IOKit/hid/IOHIDLib.h> #include <IOKit/hid/IOHIDLib.h>
#endif
#include <IOKit/hid/IOHIDKeys.h> #include <IOKit/hid/IOHIDKeys.h>
#include <CoreFoundation/CoreFoundation.h> #include <CoreFoundation/CoreFoundation.h>
#include <Carbon/Carbon.h> /* for NewPtrClear, DisposePtr */ #include <Carbon/Carbon.h> /* for NewPtrClear, DisposePtr */
......
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