mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-12 23:03:37 +00:00
Fixed macOS build when video is disabled
Fixes https://github.com/libsdl-org/SDL/issues/14912
This commit is contained in:
@@ -27,7 +27,11 @@
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <UniformTypeIdentifiers/UTType.h>
|
||||
|
||||
#ifdef SDL_VIDEO_DRIVER_COCOA
|
||||
extern void Cocoa_SetWindowHasModalDialog(SDL_Window *window, bool has_modal);
|
||||
#else
|
||||
#define Cocoa_SetWindowHasModalDialog(window, has_modal)
|
||||
#endif
|
||||
|
||||
static void AddFileExtensionType(NSMutableArray *types, const char *pattern_ptr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user