aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-w32gdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamma-w32gdi.c')
-rw-r--r--src/gamma-w32gdi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gamma-w32gdi.c b/src/gamma-w32gdi.c
index 7d8207f..aa2474d 100644
--- a/src/gamma-w32gdi.c
+++ b/src/gamma-w32gdi.c
@@ -20,7 +20,9 @@
#include <stdio.h>
#include <stdlib.h>
-#define WINVER 0x0500
+#ifndef WINVER
+# define WINVER 0x0500
+#endif
#include <windows.h>
#include <wingdi.h>