mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 18:57:19 +00:00
dnsapi: Ensure unixlib function tables and enum stay in sync.
This commit is contained in:
parent
e0237f7798
commit
4dc31f923b
|
@ -127,6 +127,7 @@ enum unix_funcs
|
||||||
unix_get_serverlist,
|
unix_get_serverlist,
|
||||||
unix_set_serverlist,
|
unix_set_serverlist,
|
||||||
unix_query,
|
unix_query,
|
||||||
|
unix_funcs_count
|
||||||
};
|
};
|
||||||
|
|
||||||
#define RESOLV_CALL( func, params ) WINE_UNIX_CALL( unix_ ## func, params )
|
#define RESOLV_CALL( func, params ) WINE_UNIX_CALL( unix_ ## func, params )
|
||||||
|
|
|
@ -344,6 +344,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] =
|
||||||
resolv_query,
|
resolv_query,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
C_ASSERT( ARRAYSIZE(__wine_unix_call_funcs) == unix_funcs_count );
|
||||||
|
|
||||||
#ifdef _WIN64
|
#ifdef _WIN64
|
||||||
|
|
||||||
typedef ULONG PTR32;
|
typedef ULONG PTR32;
|
||||||
|
@ -415,6 +417,8 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
|
||||||
wow64_resolv_query,
|
wow64_resolv_query,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
C_ASSERT( ARRAYSIZE(__wine_unix_call_wow64_funcs) == unix_funcs_count );
|
||||||
|
|
||||||
#endif /* _WIN64 */
|
#endif /* _WIN64 */
|
||||||
|
|
||||||
#endif /* HAVE_RESOLV */
|
#endif /* HAVE_RESOLV */
|
||||||
|
|
Loading…
Reference in a new issue