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

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

View file

@ -243,6 +243,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] =
ntlm_check_version,
};
C_ASSERT( ARRAYSIZE(__wine_unix_call_funcs) == unix_funcs_count );
#ifdef _WIN64
typedef ULONG PTR32;
@ -301,4 +303,6 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
ntlm_check_version,
};
C_ASSERT( ARRAYSIZE(__wine_unix_call_wow64_funcs) == unix_funcs_count );
#endif /* _WIN64 */

View file

@ -111,4 +111,5 @@ enum ntlm_funcs
unix_cleanup,
unix_fork,
unix_check_version,
unix_funcs_count,
};