Skip to content

Commit

Permalink
Build hidapi against latest mingw-w64 headers (not guarded, perhaps b…
Browse files Browse the repository at this point in the history
…reaks old headers build).
  • Loading branch information
awson committed Nov 9, 2016
1 parent 6666789 commit 4baeac8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
4 changes: 0 additions & 4 deletions hidapi_parser/hidapi_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,8 @@

#ifdef _WIN32
#include <windows.h>
#ifdef __MINGW32__
#include "../windows/hidsdi.h"
#else
#include <hidsdi.h>
#endif
#endif

#include "hidapi_parser.h"

Expand Down
6 changes: 1 addition & 5 deletions windows/hid.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,7 @@
********************************************************/

#include <windows.h>

#ifdef __MINGW32__
#include "./hidsdi.h"
#else
#include <hidsdi.h>
#endif

#ifndef _NTDEF_
typedef LONG NTSTATUS;
Expand All @@ -35,6 +30,7 @@ typedef LONG NTSTATUS;
#ifdef __MINGW32__
#include <ntdef.h>
#include <winbase.h>
#include <devpropdef.h>
#endif

#ifdef __CYGWIN__
Expand Down

0 comments on commit 4baeac8

Please sign in to comment.