Assume that stdint.h is available on Windows with compilers other than MSVC <= 2008

This commit is contained in:
Cameron Cawley
2022-09-04 17:50:29 +01:00
committed by Sam Lantinga
parent ef988fe184
commit fd93f817ba
8 changed files with 52 additions and 201 deletions

View File

@@ -69,6 +69,16 @@
#include <windows.h>
#include <basetyps.h> /* for REFIID with broken mingw.org headers */
/* Older Visual C++ headers don't have the Win64-compatible typedefs... */
#if defined(_MSC_VER) && (_MSC_VER <= 1200)
#ifndef DWORD_PTR
#define DWORD_PTR DWORD
#endif
#ifndef LONG_PTR
#define LONG_PTR LONG
#endif
#endif
#include "SDL_rect.h"
/* Routines to convert from UTF8 to native Windows text */