Added support for anonymous structs/unions on compilers that implement it.
diff --git a/include/wtypes.h b/include/wtypes.h
index b0a0ddb..d4607ca 100644
--- a/include/wtypes.h
+++ b/include/wtypes.h
@@ -147,19 +147,20 @@
#ifndef _tagCY_DEFINED
#define _tagCY_DEFINED
-typedef union tagCY
-{
+
+typedef union tagCY {
struct {
#ifdef BIG_ENDIAN
- long Hi;
- long Lo;
-#else
- unsigned long Lo;
- long Hi;
-#endif
- } u;
+ LONG Hi;
+ LONG Lo;
+#else /* defined(BIG_ENDIAN) */
+ ULONG Lo;
+ LONG Hi;
+#endif /* defined(BIG_ENDIAN) */
+ } DUMMYSTRUCTNAME;
LONGLONG int64;
} CY;
+
#endif /* _tagCY_DEFINED */
/*