mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-06 22:07:56 +03:00
42 lines
642 B
C
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
|