File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 4040
4141#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_12
4242// Deprecated constants in 10.12 SDK
43+ # define NSAlertStyleCritical NSCriticalAlertStyle
44+ # define NSAlertStyleInformational NSInformationalAlertStyle
4345# define NSAlertStyleWarning NSWarningAlertStyle
4446# define NSCompositingOperationSourceOver NSCompositeSourceOver
4547# define NSControlSizeRegular NSRegularControlSize
Original file line number Diff line number Diff line change 15071507 // Ensure no data is on the output queue before presenting the dialog.
15081508 gui_macvim_force_flush ();
15091509
1510- int style = NSInformationalAlertStyle ;
1510+ int style = NSAlertStyleInformational ;
15111511 if (VIM_WARNING == type) style = NSAlertStyleWarning;
1512- else if (VIM_ERROR == type) style = NSCriticalAlertStyle ;
1512+ else if (VIM_ERROR == type) style = NSAlertStyleCritical ;
15131513
15141514 NSMutableDictionary *attr = [NSMutableDictionary
15151515 dictionaryWithObject: [NSNumber numberWithInt: style]
Original file line number Diff line number Diff line change 3636 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3737*/
3838
39+ #define OSSPINLOCK_USE_INLINED 1
40+
3941#include < CoreFoundation/CFBase.h>
4042#include < CoreFoundation/CFArray.h>
4143#include < CoreFoundation/CFString.h>
You can’t perform that action at this time.
0 commit comments