| 1 | /* |
| 2 | * Glide64 - Glide video plugin for Nintendo 64 emulators. |
| 3 | * Copyright (c) 2002 Dave2001 |
| 4 | * Copyright (c) 2003-2009 Sergey 'Gonetz' Lipski |
| 5 | * Copyright (c) 2012-2013 balrog, wahrhaft |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 2 of the License, or |
| 10 | * any later version. |
| 11 | * |
| 12 | * This program is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | * GNU General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License |
| 18 | * along with this program; if not, write to the Free Software |
| 19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 20 | */ |
| 21 | |
| 22 | |
| 23 | #ifndef WINLNXDEFS_H |
| 24 | #define WINLNXDEFS_H |
| 25 | |
| 26 | #define wxPtrToUInt (uintptr_t) |
| 27 | #define TRUE 1 |
| 28 | #define FALSE 0 |
| 29 | |
| 30 | #define _T(x) x |
| 31 | |
| 32 | #include <stdint.h> |
| 33 | |
| 34 | typedef int BOOL; |
| 35 | typedef uint32_t wxUint32; |
| 36 | typedef uint16_t wxUint16; |
| 37 | typedef uint8_t wxUint8; |
| 38 | typedef uint8_t BYTE; |
| 39 | typedef long long LONGLONG; |
| 40 | |
| 41 | |
| 42 | typedef int32_t wxInt32; |
| 43 | typedef int16_t wxInt16; |
| 44 | typedef int8_t wxInt8; |
| 45 | |
| 46 | typedef uint64_t wxUint64; |
| 47 | typedef int64_t wxInt64; |
| 48 | |
| 49 | typedef unsigned char wxChar; |
| 50 | typedef uintptr_t wxUIntPtr; |
| 51 | |
| 52 | #ifndef WIN32 |
| 53 | |
| 54 | typedef union _LARGE_INTEGER |
| 55 | { |
| 56 | struct |
| 57 | { |
| 58 | uint32_t LowPart; |
| 59 | uint32_t HighPart; |
| 60 | } s; |
| 61 | struct |
| 62 | { |
| 63 | uint32_t LowPart; |
| 64 | uint32_t HighPart; |
| 65 | } u; |
| 66 | long long QuadPart; |
| 67 | } LARGE_INTEGER, *PLARGE_INTEGER; |
| 68 | |
| 69 | #define WINAPI |
| 70 | |
| 71 | #endif |
| 72 | |
| 73 | #endif |