From 70e44b846ceaf9eebc336b12a07406c3a418a5c3 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 20 Jun 2014 04:57:46 +0200 Subject: Enable compatibility w/ gcc/mingw64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These changes enable gcc/mingw64 compatibility. Besides adding fixes of my own, the following changes were considered: https://github.com/parasti/OculusSDK-MinGW/commit/8fa94f4cc1d7e9d34a1908a4d69df52e5d998a20 https://github.com/parasti/OculusSDK-MinGW/commit/b4681523477b15bea94379eb11b17be9daa7ac17 https://github.com/larspensjo/OculusSDK-MinGW/commit/213118fdc1798a54b4efb930c3427b694abd8b31 Big KUDOS to - Jānis Rūcis aka 'parasti' - Lars Pensjö aka 'larspensjo' --- LibOVR/Src/OVR_Win32_DeviceStatus.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'LibOVR/Src/OVR_Win32_DeviceStatus.cpp') diff --git a/LibOVR/Src/OVR_Win32_DeviceStatus.cpp b/LibOVR/Src/OVR_Win32_DeviceStatus.cpp index 1dfcd6a..6eee1c0 100644 --- a/LibOVR/Src/OVR_Win32_DeviceStatus.cpp +++ b/LibOVR/Src/OVR_Win32_DeviceStatus.cpp @@ -32,6 +32,11 @@ limitations under the License. #include +#ifndef DEVICE_NOTIFY_ALL_INTERFACE_CLASSES +// Normally defined in winuser.h +#define DEVICE_NOTIFY_ALL_INTERFACE_CLASSES 0x00000004 +#endif + namespace OVR { namespace Win32 { static TCHAR windowClassName[] = TEXT("LibOVR_DeviceStatus_WindowClass"); -- cgit v1.2.3