summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
Diffstat (limited to 'compat')
-rw-r--r--compat/nvenc/nvEncodeAPI.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/nvenc/nvEncodeAPI.h b/compat/nvenc/nvEncodeAPI.h
index c3a8294212..e662880f4d 100644
--- a/compat/nvenc/nvEncodeAPI.h
+++ b/compat/nvenc/nvEncodeAPI.h
@@ -77,7 +77,7 @@ extern "C" {
typedef RECT NVENC_RECT;
#else
// =========================================================================================
-#ifndef GUID
+#if !defined(GUID) && !defined(GUID_DEFINED)
/*!
* \struct GUID
* Abstracts the GUID structure for non-windows platforms.