mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-13 07:47:45 +00:00
in an evil twist of fate, lets only allow dinput7 in msvc - which allows gcc's dinput5 libraries to be usable.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1528 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
6ac08e35ad
commit
6230fface8
1 changed files with 4 additions and 1 deletions
|
@ -31,12 +31,15 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef NODIRECTX
|
#ifndef NODIRECTX
|
||||||
#include <dinput.h>
|
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#pragma comment (lib, "dxguid.lib")
|
#pragma comment (lib, "dxguid.lib")
|
||||||
|
#else
|
||||||
|
#define DIRECTINPUT_VERSION 0x0500
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <dinput.h>
|
||||||
|
|
||||||
#define DINPUT_BUFFERSIZE 16
|
#define DINPUT_BUFFERSIZE 16
|
||||||
#define iDirectInputCreate(a,b,c,d) pDirectInputCreate(a,b,c,d)
|
#define iDirectInputCreate(a,b,c,d) pDirectInputCreate(a,b,c,d)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue