Glide Plugin GLES2 port from mupen64plus-ae, but with special FrameSkip code
[mupen64plus-pandora.git] / source / gles2glide64 / src / Glide64 / winlnxdefs.h
CommitLineData
98e75f2d 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
34typedef int BOOL;
35typedef uint32_t wxUint32;
36typedef uint16_t wxUint16;
37typedef uint8_t wxUint8;
38typedef uint8_t BYTE;
39typedef long long LONGLONG;
40
41
42typedef int32_t wxInt32;
43typedef int16_t wxInt16;
44typedef int8_t wxInt8;
45
46typedef uint64_t wxUint64;
47typedef int64_t wxInt64;
48
49typedef unsigned char wxChar;
50typedef uintptr_t wxUIntPtr;
51
52#ifndef WIN32
53
54typedef 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