# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1353388170 0 # Node ID 7677754a1ca52c0a6f85686698ff2677dbfcc87f # Parent 3343a61f3262ee3b4d2ea54e25da40475132f638 Ok, slight changes to prevent missing stdint.h with Visual C prior to 2010. diff -r 3343a61f3262 -r 7677754a1ca5 dw.h --- a/dw.h Tue Nov 20 04:20:39 2012 +0000 +++ b/dw.h Tue Nov 20 05:09:30 2012 +0000 @@ -8,8 +8,6 @@ #define DW_MINOR_VERSION 4 #define DW_SUB_VERSION 0 -#include - #if !defined(__PHOTON__) /* These corespond to the entries in the color * arrays in the Win32 dw.c, they are also the @@ -1393,7 +1391,8 @@ #include /* Macros for converting from INT/UINT to and from POINTER without compiler warnings */ -#if _MSC_VER > 1200 || (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 30100 || defined(__has_extension) +#if _MSC_VER > 1500 || (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 30100 || defined(__has_extension) +#include /* There has got to be a better way to check for the intptr_t type.... * for now just include valid versions of Visual C and GCC plus clang. */