aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-w32gdi.c
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2010-06-13 21:49:34 +0200
committerJon Lund Steffensen <jonlst@gmail.com>2010-06-13 21:49:34 +0200
commitb5caafe52d4f64f4f076339cf8d8895ad5ce5c80 (patch)
treec7591ed1ea2a2a446f41ec5aff14e5cd85a3b899 /src/gamma-w32gdi.c
parentgamma-w32gdi.c: Fix name of w32gdi_start() function. (diff)
downloadredshift-ng-b5caafe52d4f64f4f076339cf8d8895ad5ce5c80.tar.gz
redshift-ng-b5caafe52d4f64f4f076339cf8d8895ad5ce5c80.tar.bz2
redshift-ng-b5caafe52d4f64f4f076339cf8d8895ad5ce5c80.tar.xz
gamma-w32gdi.c: Conditionally define WINVER.
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>