Fixed building with older macOS SDK

main
Sam Lantinga 2023-05-17 13:32:21 -07:00
parent 5836e057de
commit a3ce0d03e3
1 changed files with 4 additions and 0 deletions

View File

@ -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;