From 1f262ca2dbe00ba761e9b91994e93fee65d6efc1 Mon Sep 17 00:00:00 2001 From: Sven Gothel <sgothel@jausoft.com> Date: Wed, 15 Jul 2015 21:12:04 +0200 Subject: Fix build for Windows/MingW64 ... --- LibOVR/Src/OVR_CAPI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LibOVR/Src/OVR_CAPI.cpp') diff --git a/LibOVR/Src/OVR_CAPI.cpp b/LibOVR/Src/OVR_CAPI.cpp index e02151a..d06c885 100755 --- a/LibOVR/Src/OVR_CAPI.cpp +++ b/LibOVR/Src/OVR_CAPI.cpp @@ -272,7 +272,7 @@ OVR_PUBLIC_FUNCTION(ovrBool) ovr_Initialize(ovrInitParams const* params) goto Abort; } -#if defined(OVR_OS_WIN32) +#if defined(OVR_OS_WIN32) && !defined(HEADLESS_APP) // Older than Windows 7 SP1? if (!IsWindows7SP1OrGreater()) { -- cgit v1.2.3