mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-18 20:18:59 +00:00
Fixed building with older macOS SDK
This commit is contained in:
parent
5836e057de
commit
a3ce0d03e3
1 changed files with 4 additions and 0 deletions
|
|
@ -25,6 +25,10 @@
|
|||
#include "SDL_cocoavideo.h"
|
||||
#include "../../events/SDL_clipboardevents_c.h"
|
||||
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED < 101300
|
||||
typedef NSString *NSPasteboardType; /* Defined in macOS 10.13+ */
|
||||
#endif
|
||||
|
||||
@interface Cocoa_PasteboardDataProvider : NSObject<NSPasteboardItemDataProvider>
|
||||
{
|
||||
SDL_ClipboardDataCallback m_callback;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue