Commit 9492913d authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

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

parent 798eff6a
...@@ -1071,6 +1071,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] = ...@@ -1071,6 +1071,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] =
unix_getnameinfo, unix_getnameinfo,
}; };
C_ASSERT( ARRAYSIZE(__wine_unix_call_funcs) == ws_unix_funcs_count );
#ifdef _WIN64 #ifdef _WIN64
typedef ULONG PTR32; typedef ULONG PTR32;
...@@ -1349,4 +1351,6 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] = ...@@ -1349,4 +1351,6 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
wow64_unix_getnameinfo, wow64_unix_getnameinfo,
}; };
C_ASSERT( ARRAYSIZE(__wine_unix_call_wow64_funcs) == ws_unix_funcs_count );
#endif /* _WIN64 */ #endif /* _WIN64 */
...@@ -141,6 +141,7 @@ enum ws_unix_funcs ...@@ -141,6 +141,7 @@ enum ws_unix_funcs
ws_unix_gethostbyname, ws_unix_gethostbyname,
ws_unix_gethostname, ws_unix_gethostname,
ws_unix_getnameinfo, ws_unix_getnameinfo,
ws_unix_funcs_count,
}; };
#endif #endif
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