jediacademy/codemp/qcommon/platform.h

23 lines
455 B
C
Raw Normal View History

2013-04-04 22:35:38 +00:00
// Simple header file to dispatch to the relevant platform API headers
#ifndef _PLATFORM_H
#define _PLATFORM_H
#if defined(_XBOX)
#include <xtl.h>
#endif
#if defined(_WINDOWS)
#include <windows.h>
#endif
#if defined (__linux__)
typedef const char *LPCTSTR;
typedef const char *LPCSTR;
typedef unsigned long DWORD;
typedef unsigned int UINT;
typedef void* HANDLE;
typedef DWORD COLORREF;
typedef unsigned char BYTE;
#endif
#endif