summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_vjoy
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-08-30 10:19:10 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-08-30 10:22:12 +0200
commit0027139d8348e07e6a2d9734489964961294fe22 (patch)
tree490a4b215f6005e7f444f4f97cddaf60f357fcd0 /ftnoir_protocol_vjoy
parent512d269886e2d27c105157ef0db926fe03d48f70 (diff)
remove MSVC support
Leave as-is to avoid unconditionally assuming GNU extensions and ABI
Diffstat (limited to 'ftnoir_protocol_vjoy')
-rw-r--r--ftnoir_protocol_vjoy/ftnoir_protocol_vjoy.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/ftnoir_protocol_vjoy/ftnoir_protocol_vjoy.h b/ftnoir_protocol_vjoy/ftnoir_protocol_vjoy.h
index 6ef828d4..c36b15f3 100644
--- a/ftnoir_protocol_vjoy/ftnoir_protocol_vjoy.h
+++ b/ftnoir_protocol_vjoy/ftnoir_protocol_vjoy.h
@@ -106,17 +106,6 @@ typedef struct _JOYSTICK_STATE
UINT32 Buttons; // 32 Buttons
} JOYSTICK_STATE, * PJOYSTICK_STATE;
-#include <poppack.h>
-
-#undef EXTERN_C
-#if _MSC_VER
-# define EXTERN_C
-#else
-# define EXTERN_C extern "C"
-#endif
-#if _MSC_VER
-# pragma comment(linker, "/implib:vjoy.def")
-#endif
EXTERN_C BOOL __stdcall VJoy_Initialize(PCHAR name, PCHAR serial);
EXTERN_C VOID __stdcall VJoy_Shutdown();
EXTERN_C BOOL __stdcall VJoy_UpdateJoyState(int id, PJOYSTICK_STATE pJoyState);