summaryrefslogtreecommitdiff
path: root/thirdparty
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2014-10-02 19:52:07 +0100
committerJosé Fonseca <jfonseca@vmware.com>2014-10-02 19:52:07 +0100
commit4bc3cfde42118081268690217172d7b577867c65 (patch)
treedac30656750d015e3f2615a0e05b57f8b65d6805 /thirdparty
parente99e612e5174c611accbd8f79f21c448600521c0 (diff)
devcon: Fix build with older Windows SDKs.
Diffstat (limited to 'thirdparty')
-rw-r--r--thirdparty/devcon/devcon.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/thirdparty/devcon/devcon.cpp b/thirdparty/devcon/devcon.cpp
index 2d2d4b8f..2077987e 100644
--- a/thirdparty/devcon/devcon.cpp
+++ b/thirdparty/devcon/devcon.cpp
@@ -33,9 +33,8 @@
#include <strsafe.h>
-#ifdef __MINGW32__
+// Not defined on MinGW and Windows SDKs before Windows 8.0
#define PZPTSTR PTSTR *
-#endif
#ifndef ARRAYSIZE
#define ARRAYSIZE(a) (sizeof(a)/sizeof(a[0]))