Commit 798eff6a authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

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

parent 495e1a0c
...@@ -243,6 +243,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] = ...@@ -243,6 +243,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] =
ntlm_check_version, ntlm_check_version,
}; };
C_ASSERT( ARRAYSIZE(__wine_unix_call_funcs) == unix_funcs_count );
#ifdef _WIN64 #ifdef _WIN64
typedef ULONG PTR32; typedef ULONG PTR32;
...@@ -301,4 +303,6 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] = ...@@ -301,4 +303,6 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
ntlm_check_version, ntlm_check_version,
}; };
C_ASSERT( ARRAYSIZE(__wine_unix_call_wow64_funcs) == unix_funcs_count );
#endif /* _WIN64 */ #endif /* _WIN64 */
...@@ -111,4 +111,5 @@ enum ntlm_funcs ...@@ -111,4 +111,5 @@ enum ntlm_funcs
unix_cleanup, unix_cleanup,
unix_fork, unix_fork,
unix_check_version, unix_check_version,
unix_funcs_count,
}; };
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