include/SDL_stdinc.h
changeset 8917 23182cf59f1c
parent 8883 0700ef83072a
child 9075 257a6793aaf5
     1.1 --- a/include/SDL_stdinc.h	Mon Jun 23 10:09:15 2014 -0700
     1.2 +++ b/include/SDL_stdinc.h	Mon Jun 23 11:06:50 2014 -0700
     1.3 @@ -168,18 +168,22 @@
     1.4  /* Make sure we have macros for printing 64 bit values.
     1.5   * <stdint.h> should define these but this is not true all platforms.
     1.6   * (for example win32) */
     1.7 -#ifndef PRIs64
     1.8 -#ifdef __WIN32__
     1.9 -#define PRIs64 "I64"
    1.10 +#ifndef SDL_PRIs64
    1.11 +#ifdef PRIs64
    1.12 +#define SDL_PRIs64 PRIs64
    1.13 +#elif defined(__WIN32__)
    1.14 +#define SDL_PRIs64 "I64"
    1.15  #else
    1.16 -#define PRIs64 "lld"
    1.17 +#define SDL_PRIs64 "lld"
    1.18  #endif
    1.19  #endif
    1.20 -#ifndef PRIu64
    1.21 -#ifdef __WIN32__
    1.22 -#define PRIu64 "I64u"
    1.23 +#ifndef SDL_PRIu64
    1.24 +#ifdef PRIu64
    1.25 +#define SDL_PRIu64 PRIu64
    1.26 +#elif defined(__WIN32__)
    1.27 +#define SDL_PRIu64 "I64u"
    1.28  #else
    1.29 -#define PRIu64 "llu"
    1.30 +#define SDL_PRIu64 "llu"
    1.31  #endif
    1.32  #endif
    1.33