summaryrefslogtreecommitdiffstats
path: root/LibOVR/Src/OVR_CAPI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'LibOVR/Src/OVR_CAPI.cpp')
-rwxr-xr-xLibOVR/Src/OVR_CAPI.cpp2
1 files changed, 1 insertions, 1 deletions
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())
{