summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-07-08 11:42:25 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-07-08 11:42:25 +0200
commitfb561a2ae234fa29ccdeaa2d413419aa1bd3188f (patch)
treec857086222843ffa1cc34bf8bc2aa499442ad9ed
parent794f006cff0f147bfcaabb414b4248b8cf1a384f (diff)
proto/vjoy: oops
Spotted-by: @DaMichel Issue: #381
-rw-r--r--proto-vjoy/ftnoir_protocol_vjoy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto-vjoy/ftnoir_protocol_vjoy.h b/proto-vjoy/ftnoir_protocol_vjoy.h
index fb60ef41..ab89d6e5 100644
--- a/proto-vjoy/ftnoir_protocol_vjoy.h
+++ b/proto-vjoy/ftnoir_protocol_vjoy.h
@@ -79,8 +79,8 @@ typedef struct _JOYSTICK_STATE
UINT32 Buttons; // 32 Buttons
} JOYSTICK_STATE, * PJOYSTICK_STATE;
-#define VJOY_API extern "C"
#ifndef _MSC_VER
+#define VJOY_API extern "C"
VJOY_API BOOL __stdcall VJoy_Initialize(PCHAR name, PCHAR serial);
VJOY_API VOID __stdcall VJoy_Shutdown();
VJOY_API BOOL __stdcall VJoy_UpdateJoyState(int id, PJOYSTICK_STATE pJoyState);