Avoid double inclusion of hidapi.h

Use the classic
 #ifndef __HIDAPI_H__
 #define __HIDAPI_H__
 ...
 #endif
This commit is contained in:
Ludovic Rousseau
2010-11-23 11:37:28 +01:00
committed by Alan Ott
parent f9c06d35b2
commit b09db7eb66
+5
View File
@@ -24,6 +24,9 @@
* @defgroup API hidapi API
*/
#ifndef __HIDAPI_H__
#define __HIDAPI_H__
#include <wchar.h>
#ifdef _WIN32
@@ -313,3 +316,5 @@ extern "C" {
}
#endif
#endif