2019-04-20 20:38:26 -05:00
|
|
|
// 6 january 2015
|
|
|
|
// note: as of OS X Sierra, the -mmacosx-version-min compiler options governs deprecation warnings; keep these around anyway just in case
|
|
|
|
#define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_8
|
|
|
|
#define MAC_OS_X_VERSION_MAX_ALLOWED MAC_OS_X_VERSION_10_8
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
#import <dlfcn.h> // see future.m
|
2019-05-28 21:53:40 -05:00
|
|
|
#import <pthread.h>
|
|
|
|
#import <stdlib.h>
|
2019-06-01 08:27:17 -05:00
|
|
|
#define uiprivOSHeader "../ui_darwin.h"
|
2019-04-20 20:38:26 -05:00
|
|
|
#import "../common/uipriv.h"
|
|
|
|
|
|
|
|
#if __has_feature(objc_arc)
|
|
|
|
#error Sorry, libui cannot be compiled with ARC.
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// TODO find a better place for this
|
|
|
|
#ifndef NSAppKitVersionNumber10_9
|
|
|
|
#define NSAppKitVersionNumber10_9 1265
|
|
|
|
#endif
|