We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d663c41 commit 44a7046Copy full SHA for 44a7046
src/xrCore/Debug/dxerr.cpp
@@ -21,8 +21,9 @@
21
#include <d3d9.h>
22
#include <audiodefs.h>
23
#include <dsound.h>
24
-
+#ifndef DIRECTINPUT_VERSION
25
#define DIRECTINPUT_VERSION 0x800
26
+#endif
27
#include <dinput.h>
28
#include <dinputd.h>
29
#endif
@@ -136,6 +137,11 @@ const CHAR* WINAPI DXGetErrorStringA( _In_ HRESULT hr )
136
137
#undef CHK_ERR_WIN32A
138
#undef CHK_ERR_WIN32_ONLY
139
140
+#undef CHK_ERRA_W
141
+#undef CHK_ERR_W
142
+#undef CHK_ERRA_A
143
+#undef CHK_ERR_A
144
+
145
#define CHK_ERRA_W(hrchk) \
146
case hrchk: \
147
wcscpy_s( desc, count, L#hrchk );
0 commit comments