From: Brendan Shanks bshanks@codeweavers.com
--- dlls/opencl/make_opencl | 12 ++++++++++++ 1 file changed, 12 insertions(+)
diff --git a/dlls/opencl/make_opencl b/dlls/opencl/make_opencl index 73407873f21..1bc1b0f02c8 100755 --- a/dlls/opencl/make_opencl +++ b/dlls/opencl/make_opencl @@ -589,6 +589,11 @@ print UNIX <<EOF
#include "config.h" #include "unix_private.h" + +#ifdef __APPLE__ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" +#endif EOF ;
@@ -599,6 +604,13 @@ foreach (sort keys %core_functions) print UNIX "\n", generate_unix_thunk( $_, $core_functions{$_} ); }
+print UNIX <<EOF +#ifdef __APPLE__ +#pragma clang diagnostic pop +#endif +EOF +; + print UNIX "\nconst unixlib_entry_t __wine_unix_call_funcs[] =\n{\n"; foreach (sort keys %core_functions) {