winealsa: Ensure unixlib function tables and enum stay in sync.
This commit is contained in:
parent
5926718925
commit
63c0f01c96
2 changed files with 7 additions and 2 deletions
|
@ -332,4 +332,5 @@ enum unix_funcs
|
|||
midi_in_message,
|
||||
midi_notify_wait,
|
||||
aux_message,
|
||||
funcs_count
|
||||
};
|
||||
|
|
|
@ -2504,7 +2504,7 @@ static NTSTATUS alsa_get_prop_value(void *args)
|
|||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
unixlib_entry_t __wine_unix_call_funcs[] =
|
||||
const unixlib_entry_t __wine_unix_call_funcs[] =
|
||||
{
|
||||
alsa_process_attach,
|
||||
alsa_not_implemented,
|
||||
|
@ -2542,6 +2542,8 @@ unixlib_entry_t __wine_unix_call_funcs[] =
|
|||
alsa_not_implemented,
|
||||
};
|
||||
|
||||
C_ASSERT(ARRAYSIZE(__wine_unix_call_funcs) == funcs_count);
|
||||
|
||||
#ifdef _WIN64
|
||||
|
||||
typedef UINT PTR32;
|
||||
|
@ -2958,7 +2960,7 @@ static NTSTATUS alsa_wow64_get_prop_value(void *args)
|
|||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
unixlib_entry_t __wine_unix_call_wow64_funcs[] =
|
||||
const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
|
||||
{
|
||||
alsa_process_attach,
|
||||
alsa_not_implemented,
|
||||
|
@ -2996,4 +2998,6 @@ unixlib_entry_t __wine_unix_call_wow64_funcs[] =
|
|||
alsa_not_implemented,
|
||||
};
|
||||
|
||||
C_ASSERT(ARRAYSIZE(__wine_unix_call_wow64_funcs) == funcs_count);
|
||||
|
||||
#endif /* _WIN64 */
|
||||
|
|
Loading…
Add table
Reference in a new issue