ws2_32: Ensure unixlib function tables and enum stay in sync.

This commit is contained in:
Brendan Shanks 2023-09-13 15:11:40 -07:00 committed by Alexandre Julliard
parent 798eff6a0e
commit 9492913dee
2 changed files with 5 additions and 0 deletions

View file

@ -1071,6 +1071,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] =
unix_getnameinfo,
};
C_ASSERT( ARRAYSIZE(__wine_unix_call_funcs) == ws_unix_funcs_count );
#ifdef _WIN64
typedef ULONG PTR32;
@ -1349,4 +1351,6 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
wow64_unix_getnameinfo,
};
C_ASSERT( ARRAYSIZE(__wine_unix_call_wow64_funcs) == ws_unix_funcs_count );
#endif /* _WIN64 */

View file

@ -141,6 +141,7 @@ enum ws_unix_funcs
ws_unix_gethostbyname,
ws_unix_gethostname,
ws_unix_getnameinfo,
ws_unix_funcs_count,
};
#endif