Re: [hatari-devel] Hatari 2.1.0 has been released

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Nicolas, yes.

Look :
https://github.com/phracker/MacOSX-SDKs/blob/9fc3ed0ad0345950ac25c28695b0427846eea966/MacOSX10.12.sdk/System/Library/Frameworks/AppKit.framework/Versions/C/Headers/NSAlert.h

and

https://github.com/phracker/MacOSX-SDKs/blob/9fc3ed0ad0345950ac25c28695b0427846eea966/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Versions/C/Headers/NSAlert.h

thank to @phracker to expose the SDKs .

Regards,

2018-02-10 19:31 GMT+01:00 Nicolas Pomarède <npomarede@xxxxxxxxxxxx>:
> Le 10/02/2018 à 19:20, benoît tuduri a écrit :
>>
>> Hi,
>>
>> Like I said during the last post, the compilation doesn't work on a
>> 10.11, Troed you work only on High Sierra (because some constant names
>> are changed) ?
>>
>> Regards,
>
>
> Hi
>
> the patch you posted adds these lines
>
> +#if (!defined MAC_OS_X_VERSION_10_12) || MAC_OS_X_VERSION_MAX_ALLOWED <
> MAC_OS_X_VERSION_10_12
> +#define NSAlertStyleInformational NSInformationalAlertStyle
> +#endif
>
> Is that enough to fix compilation in your case ? If so, we can add those
> lines (if it doesn't have any side effect on most recent macOS)
>
>
> Nicolas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/