vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Mon Feb 16 19:25:03 2015 +0200| [062267bf2dea5bb919d09ab6b16472445854961b] | committer: 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). > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=062267bf2dea5bb919d09ab6b16472445854961b --- src/win32/thread.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/win32/thread.c b/src/win32/thread.c index 7698675..2f94fab 100644 --- a/src/win32/thread.c +++ b/src/win32/thread.c @@ -669,18 +669,18 @@ mtime_t mdate (void) static union { +#if (_WIN32_WINNT < 0x0601) struct { -#if (_WIN32_WINNT < 0x0601) BOOL (*query) (PULONGLONG); -#endif } interrupt; +#endif +#if (_WIN32_WINNT < 0x0600) struct { -#if (_WIN32_WINNT < 0x0600) ULONGLONG (*get) (void); -#endif } tick; +#endif struct { LARGE_INTEGER freq; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
