Commit 5118e75b authored by con's avatar con Committed by Eike Ziller
Browse files

Fix build on Mac 10.5

USBSpec.h misses some constants/defines.

Change-Id: I1fde2e15a4d5d661158c93424b5b1299b0a2baaf
Reviewed-on: http://codereview.qt.nokia.com/589

Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@nokia.com>
parent 5f6a91e0
......@@ -53,6 +53,15 @@
#include <IOKit/IOKitLib.h>
#include <IOKit/serial/IOSerialKeys.h>
#include <IOKit/usb/USBSpec.h>
// 10.5 doesn't have kUSBProductString or kUSBVendorString
#ifndef kUSBProductString
#define kUSBProductString "USB Product Name"
#endif
#ifndef kUSBVendorString
#define kUSBVendorString "USB Vendor Name"
#endif
#if defined(MAC_OS_X_VERSION_10_3) && (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_3)
#include <IOKit/serial/ioss.h>
#endif
......
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