mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-05 19:37:13 +00:00
Fixed building with older macOS SDK
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user