src/test/SDL_test_fuzzer.c
changeset 6789 7177d421bb07
parent 6763 9cbd31a3450b
child 6811 60d95fcfaf3c
     1.1 --- a/src/test/SDL_test_fuzzer.c	Mon Dec 31 12:15:25 2012 -0800
     1.2 +++ b/src/test/SDL_test_fuzzer.c	Mon Dec 31 13:49:06 2012 -0800
     1.3 @@ -27,7 +27,15 @@
     1.4  
     1.5  #include "SDL_config.h"
     1.6  
     1.7 +/* Visual Studio 2008 doesn't have stdint.h */
     1.8 +#if defined(_MSC_VER) && _MSC_VER <= 1500
     1.9 +#define UINT8_MAX   ~(Uint8)0
    1.10 +#define UINT16_MAX  ~(Uint16)0
    1.11 +#define UINT32_MAX  ~(Uint32)0
    1.12 +#define UINT64_MAX  ~(Uint64)0
    1.13 +#else
    1.14  #include <stdint.h>
    1.15 +#endif
    1.16  #include <stdio.h>
    1.17  #include <stdlib.h>
    1.18  #include <limits.h>