[Glide64] Add winlnxdefs.h

e110f50489
This commit is contained in:
zilmar 2015-10-14 10:47:09 +11:00
parent ecb9363862
commit 81ab3fc877
3 changed files with 97 additions and 23 deletions

View File

@ -62,35 +62,13 @@ the plugin
#ifndef _GFX_H_INCLUDED__
#define _GFX_H_INCLUDED__
#define wxNO_GL_LIB
#define wxNO_HTML_LIB
#define wxNO_ADV_LIB
#define wxNO_ZLIB_LIB
#define wxNO_TIFF_LIB
#define wxNO_EXPAT_LIB
#define wxNO_REGEX_LIB
#define wxNO_XML_LIB
#define wxNO_NET_LIB
#define wxNO_QA_LIB
#define wxNO_XRC_LIB
#define wxNO_AUI_LIB
#define wxNO_PROPGRID_LIB
#define wxNO_RIBBON_LIB
#define wxNO_RICHTEXT_LIB
#define wxNO_MEDIA_LIB
#define wxNO_STC_LIB
#include "winlnxdefs.h"
#include <wx/wx.h>
#include <wx/dynlib.h>
#include <wx/filename.h>
#include <wx/datetime.h>
#include <stdio.h>
#include <fstream>
#include <stddef.h> // offsetof
#include <glide.h>
#include <Common/MemTest.h>
#include <Common/stdtypes.h>
#include <settings/Settings.h>
#include "GlideExtensions.h"
#include "rdp.h"

View File

@ -436,6 +436,10 @@
RelativePath="Util.h"
>
</File>
<File
RelativePath=".\winlnxdefs.h"
>
</File>
</Files>
<Globals>
</Globals>

View File

@ -0,0 +1,92 @@
/*
* Glide64 - Glide video plugin for Nintendo 64 emulators.
* Copyright (c) 2002 Dave2001
* Copyright (c) 2003-2009 Sergey 'Gonetz' Lipski
* Copyright (c) 2012-2013 balrog, wahrhaft
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* any later version.
*
* This program 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 this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef WINLNXDEFS_H
#define WINLNXDEFS_H
#define wxNO_GL_LIB
#define wxNO_HTML_LIB
#define wxNO_ADV_LIB
#define wxNO_ZLIB_LIB
#define wxNO_TIFF_LIB
#define wxNO_EXPAT_LIB
#define wxNO_REGEX_LIB
#define wxNO_XML_LIB
#define wxNO_NET_LIB
#define wxNO_QA_LIB
#define wxNO_XRC_LIB
#define wxNO_AUI_LIB
#define wxNO_PROPGRID_LIB
#define wxNO_RIBBON_LIB
#define wxNO_RICHTEXT_LIB
#define wxNO_MEDIA_LIB
#define wxNO_STC_LIB
#include <wx/wx.h>
#include <wx/dynlib.h>
#include <wx/filename.h>
#include <wx/datetime.h>
#define wxPtrToUInt (uintptr_t)
#define TRUE 1
#define FALSE 0
#include <Common/stdtypes.h>
typedef int BOOL;
typedef uint32_t wxUint32;
typedef uint16_t wxUint16;
typedef uint8_t wxUint8;
typedef uint8_t BYTE;
typedef long long LONGLONG;
typedef int32_t wxInt32;
typedef int16_t wxInt16;
typedef int8_t wxInt8;
typedef uint64_t wxUint64;
typedef int64_t wxInt64;
#ifndef _WIN32
typedef union _LARGE_INTEGER
{
struct
{
uint32_t LowPart;
uint32_t HighPart;
} s;
struct
{
uint32_t LowPart;
uint32_t HighPart;
} u;
long long QuadPart;
} LARGE_INTEGER, *PLARGE_INTEGER;
#define WINAPI
#endif
#endif