Mercurial > sdl-ios-xcode
diff include/SDL_types.h @ 1346:1b5fbaf1d2c6
Default to build SDL without MSVCRT
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 08 Feb 2006 08:55:33 +0000 |
parents | 7f32b9bede06 |
children | 7ba544e2888d |
line wrap: on
line diff
--- a/include/SDL_types.h Tue Feb 07 18:36:54 2006 +0000 +++ b/include/SDL_types.h Wed Feb 08 08:55:33 2006 +0000 @@ -27,8 +27,14 @@ #include <sys/types.h> #ifdef _MSC_VER -/* FIXME!! */ -typedef unsigned int size_t; +#ifndef _SIZE_T_DEFINED +#ifdef _WIN64 +typedef unsigned __int64 size_t; +#else +typedef _W64 unsigned int size_t; +#endif +#define _SIZE_T_DEFINED +#endif typedef size_t uintptr_t; #endif