From 3db384424bd7398ffbb7a355cab8f15f3add009f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 2 Oct 2016 19:24:58 +0200 Subject: New upstream version 1.9.1+repack --- spectro/hidio.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'spectro/hidio.h') diff --git a/spectro/hidio.h b/spectro/hidio.h index 90a741b..87edd43 100644 --- a/spectro/hidio.h +++ b/spectro/hidio.h @@ -1,7 +1,7 @@ #ifndef HIDIO_H - /* General USB HID I/O support */ +/* General USB HID I/O support */ /* * Argyll Color Correction System @@ -16,16 +16,17 @@ * see the License2.txt file for licencing details. */ + /* These routines supliement the class code in ntio.c and unixio.c */ -#ifdef __APPLE__ +#ifdef UNIX_APPLE #include #include #include #include #include #include -#endif /* __APPLE__ */ +#endif /* UNIX_APPLE */ #ifdef __cplusplus extern "C" { @@ -59,7 +60,7 @@ struct hid_idevice { HANDLE fh; /* File handle for write/read */ OVERLAPPED ols; /* Overlapped structure for write/read */ #endif -#if defined(__APPLE__) +#if defined(UNIX_APPLE) # if defined(USE_NEW_OSX_CODE) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 1060 int lid; /* Location ID */ IOHIDDeviceRef ioob; /* Object to open */ -- cgit v1.2.3