forked from 0ad/0ad
split out of wposix (less dependencies)
SDL_*: $id string This was SVN commit r1785.
This commit is contained in:
parent
cca00f9555
commit
4d25441c2a
@ -22,7 +22,7 @@
|
||||
|
||||
#ifdef SAVE_RCSID
|
||||
static char rcsid =
|
||||
"@(#) $Id: SDL_keysym.h,v 1.1 2004/06/19 12:21:05 janwas Exp $";
|
||||
"@(#) $Id$";
|
||||
#endif
|
||||
|
||||
#ifndef _SDL_keysym_h
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#ifdef SAVE_RCSID
|
||||
static char rcsid =
|
||||
"@(#) $Id: SDL_vkeys.h,v 1.1 2004/06/19 12:21:05 janwas Exp $";
|
||||
"@(#) $Id$";
|
||||
#endif
|
||||
|
||||
#ifndef VK_0
|
||||
|
46
source/lib/sysdep/win/wposix_types.h
Normal file
46
source/lib/sysdep/win/wposix_types.h
Normal file
@ -0,0 +1,46 @@
|
||||
|
||||
//
|
||||
// <inttypes.h>
|
||||
//
|
||||
|
||||
typedef char int8_t;
|
||||
typedef short int16_t;
|
||||
typedef int int32_t;
|
||||
#if defined(_MSC_VER) || defined(__INTEL_COMPILER) || defined(__LCC__)
|
||||
typedef __int64 int64_t;
|
||||
#elif defined(__GNUC__) || defined(__MWERKS__) || defined(__SUNPRO_C) || defined(__DMC__)
|
||||
typedef long long int64_t;
|
||||
#else
|
||||
#error "port int64_t"
|
||||
#endif
|
||||
|
||||
typedef unsigned char uint8_t;
|
||||
typedef unsigned short uint16_t;
|
||||
typedef unsigned int uint32_t;
|
||||
#if defined(_MSC_VER) || defined(__INTEL_COMPILER) || defined(__LCC__)
|
||||
typedef unsigned __int64 uint64_t;
|
||||
#elif defined(__GNUC__) || defined(__MWERKS__) || defined(__SUNPRO_C) || defined(__DMC__)
|
||||
typedef unsigned long long uint64_t;
|
||||
#else
|
||||
#error "port uint64_t"
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# ifndef _UINTPTR_T_DEFINED
|
||||
# define _UINTPTR_T_DEFINED
|
||||
# define uintptr_t unsigned int
|
||||
# endif // _UINTPTR_T_DEFINED
|
||||
# ifndef _INTPTR_T_DEFINED
|
||||
# define _INTPTR_T_DEFINED
|
||||
# define intptr_t signed int
|
||||
# endif // _INTPTR_T_DEFINED
|
||||
#else // _MSC_VER
|
||||
# include <stdint.h>
|
||||
#endif // _MSC_VER
|
||||
|
||||
|
||||
//
|
||||
// <sys/types.h>
|
||||
//
|
||||
|
||||
typedef long ssize_t;
|
Loading…
Reference in New Issue
Block a user