Hello Francois,
On 03/01/2012 03:07 AM, Francois Gouget wrote:
> ---
>
> A real Mac OS X implementation would be nice but barring that it seems
> better to do nothing than to create .desktop files and directories that
> make no sense on Mac OS X.
>
> programs/winemenubuilder/winemenubuilder.c | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/programs/winemenubuilder/winemenubuilder.c b/programs/winemenubuilder/winemenubuilder.c
> index 1588e50..458e207 100644
> --- a/programs/winemenubuilder/winemenubuilder.c
> +++ b/programs/winemenubuilder/winemenubuilder.c
> @@ -3619,6 +3619,10 @@ int PASCAL wWinMain (HINSTANCE hInstance, HINSTANCE prev, LPWSTR cmdline, int sh
> HRESULT hr;
> int ret = 0;
>
> +#ifdef __APPLE__
> + WINE_FIXME("creating menus is not supported on Mac OS X\n");
> + return 0;
> +#endif
> if (!init_xdg())
> return 1;
>
no clue if the compiler there complains but you are producing
unreachable code in the #ifdef __APPLE__ case.
bye
michael