mirror of https://github.com/encounter/SDL.git
hidapi/windows/hid.c: fix misplaced #if 0
VendorID && ProductID are only used by the test main(), otherwise they are unwanted globals.
This commit is contained in:
parent
f964ce03b4
commit
283680f2c1
|
@ -913,6 +913,8 @@ HID_API_EXPORT const wchar_t * HID_API_CALL hid_error(hid_device *dev)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
|
||||||
/*#define PICPGM*/
|
/*#define PICPGM*/
|
||||||
/*#define S11*/
|
/*#define S11*/
|
||||||
#define P32
|
#define P32
|
||||||
|
@ -932,8 +934,6 @@ HID_API_EXPORT const wchar_t * HID_API_CALL hid_error(hid_device *dev)
|
||||||
unsigned short ProductID = 0x0033;
|
unsigned short ProductID = 0x0033;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if 0
|
|
||||||
int __cdecl main(int argc, char* argv[])
|
int __cdecl main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
int res;
|
int res;
|
||||||
|
|
Loading…
Reference in New Issue