wineoss: Ensure unixlib function tables and enum stay in sync.
This commit is contained in:
parent
111e0cbd22
commit
39864e80e6
1 changed files with 6 additions and 2 deletions
|
@ -1704,7 +1704,7 @@ static NTSTATUS oss_aux_message(void *args)
|
|||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
unixlib_entry_t __wine_unix_call_funcs[] =
|
||||
const unixlib_entry_t __wine_unix_call_funcs[] =
|
||||
{
|
||||
oss_process_attach,
|
||||
oss_not_implemented,
|
||||
|
@ -1742,6 +1742,8 @@ unixlib_entry_t __wine_unix_call_funcs[] =
|
|||
oss_aux_message,
|
||||
};
|
||||
|
||||
C_ASSERT(ARRAYSIZE(__wine_unix_call_funcs) == funcs_count);
|
||||
|
||||
#ifdef _WIN64
|
||||
|
||||
typedef UINT PTR32;
|
||||
|
@ -2197,7 +2199,7 @@ static NTSTATUS oss_wow64_aux_message(void *args)
|
|||
return oss_aux_message(¶ms);
|
||||
}
|
||||
|
||||
unixlib_entry_t __wine_unix_call_wow64_funcs[] =
|
||||
const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
|
||||
{
|
||||
oss_process_attach,
|
||||
oss_not_implemented,
|
||||
|
@ -2235,4 +2237,6 @@ unixlib_entry_t __wine_unix_call_wow64_funcs[] =
|
|||
oss_wow64_aux_message,
|
||||
};
|
||||
|
||||
C_ASSERT(ARRAYSIZE(__wine_unix_call_wow64_funcs) == funcs_count);
|
||||
|
||||
#endif /* _WIN64 */
|
||||
|
|
Loading…
Add table
Reference in a new issue