mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 18:07:21 +00:00
wpcap: Ensure unixlib function tables and enum stay in sync.
This commit is contained in:
parent
4dc31f923b
commit
2c487406ae
|
@ -498,6 +498,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] =
|
|||
wrap_tstamp_type_val_to_name,
|
||||
};
|
||||
|
||||
C_ASSERT( ARRAYSIZE(__wine_unix_call_funcs) == unix_funcs_count );
|
||||
|
||||
#ifdef _WIN64
|
||||
|
||||
typedef ULONG PTR32;
|
||||
|
@ -961,6 +963,8 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
|
|||
wow64_tstamp_type_val_to_name,
|
||||
};
|
||||
|
||||
C_ASSERT( ARRAYSIZE(__wine_unix_call_wow64_funcs) == unix_funcs_count );
|
||||
|
||||
#endif /* _WIN64 */
|
||||
|
||||
#endif /* HAVE_PCAP_PCAP_H */
|
||||
|
|
|
@ -379,4 +379,5 @@ enum pcap_funcs
|
|||
unix_tstamp_type_name_to_val,
|
||||
unix_tstamp_type_val_to_description,
|
||||
unix_tstamp_type_val_to_name,
|
||||
unix_funcs_count
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue