Commit 4dc31f92 authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

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

parent e0237f77
......@@ -127,6 +127,7 @@ enum unix_funcs
unix_get_serverlist,
unix_set_serverlist,
unix_query,
unix_funcs_count
};
#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,
};
C_ASSERT( ARRAYSIZE(__wine_unix_call_funcs) == unix_funcs_count );
#ifdef _WIN64
typedef ULONG PTR32;
......@@ -415,6 +417,8 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
wow64_resolv_query,
};
C_ASSERT( ARRAYSIZE(__wine_unix_call_wow64_funcs) == unix_funcs_count );
#endif /* _WIN64 */
#endif /* HAVE_RESOLV */
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