summaryrefslogtreecommitdiffhomepage
path: root/proto-vjoy/ftnoir_protocol_vjoy.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-07-14 08:58:35 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-07-14 08:58:35 +0200
commit8fb85f858e85e5d0b2a217d9d31c68206266f987 (patch)
tree9bcc5a27768b6a6630e8b4e9c2b80beba73e7ce1 /proto-vjoy/ftnoir_protocol_vjoy.h
parent042a87e808e9ce4a1f58bbb4b9d673e61ce8b818 (diff)
proto/vjoy: fix linkopentrack-2.3-rc49p8
Diffstat (limited to 'proto-vjoy/ftnoir_protocol_vjoy.h')
-rw-r--r--proto-vjoy/ftnoir_protocol_vjoy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto-vjoy/ftnoir_protocol_vjoy.h b/proto-vjoy/ftnoir_protocol_vjoy.h
index 603b25d2..8d75a3e0 100644
--- a/proto-vjoy/ftnoir_protocol_vjoy.h
+++ b/proto-vjoy/ftnoir_protocol_vjoy.h
@@ -80,12 +80,12 @@ typedef struct _JOYSTICK_STATE
} JOYSTICK_STATE, * PJOYSTICK_STATE;
#ifndef _MSC_VER
-#define VJOY_API extern "C" __declspec(dllimport)
+#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);
#else
-#define VJOY_API __declspec(dllimport)
+#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);