Files
kichikuou_system3-sdl2/src/common.h
T
2016-03-27 18:13:40 +09:00

42 lines
642 B
C

/*
ALICE SOFT SYSTEM 3 for Win32
[ Common Header ]
*/
#ifndef _COMMON_H_
#define _COMMON_H_
// tchar.h shim
typedef char _TCHAR;
#ifndef _T
#define _T(s) s
#endif
#define _tfopen_s fopen_s
#define _tcscpy_s strcpy_s
#define _tcslen strlen
#define _stprintf_s sprintf_s
// type definition
#ifndef uint8
typedef unsigned char uint8;
#endif
#ifndef uint16
typedef unsigned short uint16;
#endif
#ifndef uint32
typedef unsigned long uint32;
#endif
#ifndef int8
typedef signed char int8;
#endif
#ifndef int16
typedef signed short int16;
#endif
#ifndef int32
typedef signed long int32;
#endif
#endif