Commit 062267bf authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

win32: remove non-standard empty struct

As far as I can tell, this is not allowed by the ISO C specification
(it is permitted in C++ though).
parent d88172ad
...@@ -669,18 +669,18 @@ mtime_t mdate (void) ...@@ -669,18 +669,18 @@ mtime_t mdate (void)
static union static union
{ {
#if (_WIN32_WINNT < 0x0601)
struct struct
{ {
#if (_WIN32_WINNT < 0x0601)
BOOL (*query) (PULONGLONG); BOOL (*query) (PULONGLONG);
#endif
} interrupt; } interrupt;
#endif
#if (_WIN32_WINNT < 0x0600)
struct struct
{ {
#if (_WIN32_WINNT < 0x0600)
ULONGLONG (*get) (void); ULONGLONG (*get) (void);
#endif
} tick; } tick;
#endif
struct struct
{ {
LARGE_INTEGER freq; LARGE_INTEGER freq;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment