diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-07-24 03:25:41 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-07-24 03:25:41 +0200 |
commit | 9729af15e9138493e435b8db46e89180f5bfb5c2 (patch) | |
tree | 4e3382fea98c8fc3047637e162f05af0e31a5f39 /logic | |
parent | 98c67ff5301e99fded504fbdcb49f219d06cd2ac (diff) |
dinput: less boilerplate
Diffstat (limited to 'logic')
-rw-r--r-- | logic/win32-shortcuts.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/logic/win32-shortcuts.cpp b/logic/win32-shortcuts.cpp index af50b949..15e87877 100644 --- a/logic/win32-shortcuts.cpp +++ b/logic/win32-shortcuts.cpp @@ -7,9 +7,8 @@ */ #if defined(_WIN32) -# ifndef DIRECTINPUT_VERSION -# define DIRECTINPUT_VERSION 0x800 -# endif +# undef DIRECTINPUT_VERSION +# define DIRECTINPUT_VERSION 0x800 # include <dinput.h> #include "win32-shortcuts.h" |