#ifndef __USB200_H__
#define __USB200_H__
+/* Helper macro to enable gcc's extension. */
+#ifndef __GNU_EXTENSION
+#ifdef __GNUC__
+#define __GNU_EXTENSION __extension__
+#else
+#define __GNU_EXTENSION
+#endif
+#endif
+
#include "usb100.h"
#include <pshpack1.h>
UCHAR bRequest;
union _wValue
{
- struct
+ __GNU_EXTENSION struct
{
UCHAR LowByte;
UCHAR HiByte;
} wValue;
union _wIndex
{
- struct
+ __GNU_EXTENSION struct
{
UCHAR LowByte;
UCHAR HiByte;