mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 03:20:30 +00:00
ws2_32: Ensure unixlib function tables and enum stay in sync.
This commit is contained in:
parent
798eff6a0e
commit
9492913dee
|
@ -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 */
|
||||
|
|
|
@ -141,6 +141,7 @@ enum ws_unix_funcs
|
|||
ws_unix_gethostbyname,
|
||||
ws_unix_gethostname,
|
||||
ws_unix_getnameinfo,
|
||||
ws_unix_funcs_count,
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue