1 #if !defined(AFX_PORTING_H__90C3FE42_3400_4978_8BC5_7D905F3C8E63__INCLUDED_)
2 #define AFX_PORTING_H__90C3FE42_3400_4978_8BC5_7D905F3C8E63__INCLUDED_
5 #define vsprintf_s vsnprintf
6 #define sprintf_s snprintf
7 #define strcpy_s(dst, size, src) strncpy(dst, src, size)
8 #define ZeroMemory(buf, size) memset(buf, 0, size)
10 #define BYTE unsigned char
11 #define DWORD unsigned int
16 #define GetTickCount SDL_GetTicks
19 #endif // !defined(AFX_PORTING_H__90C3FE42_3400_4978_8BC5_7D905F3C8E63__INCLUDED_)