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

winspool.drv: Ensure unixlib function tables and enum stay in sync.

parent e8ea81cf
...@@ -433,6 +433,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] = ...@@ -433,6 +433,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] =
get_ppd, get_ppd,
}; };
C_ASSERT( ARRAYSIZE(__wine_unix_call_funcs) == unix_funcs_count );
#ifdef _WIN64 #ifdef _WIN64
typedef ULONG PTR32; typedef ULONG PTR32;
...@@ -523,4 +525,6 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] = ...@@ -523,4 +525,6 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
wow64_get_ppd, wow64_get_ppd,
}; };
C_ASSERT( ARRAYSIZE(__wine_unix_call_wow64_funcs) == unix_funcs_count );
#endif /* _WIN64 */ #endif /* _WIN64 */
...@@ -72,4 +72,5 @@ enum cups_funcs ...@@ -72,4 +72,5 @@ enum cups_funcs
unix_enum_printers, unix_enum_printers,
unix_get_default_page_size, unix_get_default_page_size,
unix_get_ppd, unix_get_ppd,
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