diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2010-06-13 21:49:34 +0200 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2010-06-13 21:49:34 +0200 |
commit | b5caafe52d4f64f4f076339cf8d8895ad5ce5c80 (patch) | |
tree | c7591ed1ea2a2a446f41ec5aff14e5cd85a3b899 /src/gamma-w32gdi.c | |
parent | gamma-w32gdi.c: Fix name of w32gdi_start() function. (diff) | |
download | redshift-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.c | 4 |
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> |