2014-04-06 13:11:19 +00:00
|
|
|
/* PCSX2 - PS2 Emulator for PCs
|
|
|
|
* Copyright (C) 2002-2014 David Quintana [gigaherz]
|
|
|
|
*
|
|
|
|
* PCSX2 is free software: you can redistribute it and/or modify it under the terms
|
|
|
|
* of the GNU Lesser General Public License as published by the Free Software Found-
|
|
|
|
* ation, either version 3 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
|
|
|
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
* PURPOSE. See the GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along with PCSX2.
|
|
|
|
* If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2013-03-19 22:01:41 +00:00
|
|
|
#ifndef __PS2ETYPES_H__
|
|
|
|
#define __PS2ETYPES_H__
|
|
|
|
|
|
|
|
// Basic types
|
|
|
|
#if defined(__WIN32__)
|
|
|
|
|
|
|
|
typedef __int8 s8;
|
|
|
|
typedef __int16 s16;
|
|
|
|
typedef __int32 s32;
|
|
|
|
typedef __int64 s64;
|
|
|
|
|
|
|
|
typedef unsigned __int8 u8;
|
|
|
|
typedef unsigned __int16 u16;
|
|
|
|
typedef unsigned __int32 u32;
|
|
|
|
typedef unsigned __int64 u64;
|
|
|
|
|
|
|
|
#elif defined(__LINUX__)
|
|
|
|
|
|
|
|
typedef char s8;
|
|
|
|
typedef short s16;
|
|
|
|
typedef long s32;
|
|
|
|
typedef long long s64;
|
|
|
|
|
|
|
|
typedef unsigned char u8;
|
|
|
|
typedef unsigned short u16;
|
|
|
|
typedef unsigned long u32;
|
|
|
|
typedef unsigned long long u64;
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __PS2ETYPES_H__ */
|