Commit e0237f77 authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

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

parent c17d1adb
......@@ -89,6 +89,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] =
ct_close,
};
C_ASSERT( ARRAYSIZE(__wine_unix_call_funcs) == unix_funcs_count );
#ifdef _WIN64
typedef ULONG PTR32;
......@@ -129,4 +131,6 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
ct_close,
};
C_ASSERT( ARRAYSIZE(__wine_unix_call_wow64_funcs) == unix_funcs_count );
#endif /* _WIN64 */
......@@ -60,4 +60,5 @@ enum ctapi_funcs
unix_ct_init,
unix_ct_data,
unix_ct_close,
unix_funcs_count
};
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