mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-08 15:06:52 +02:00
gosxutils: Include Foundation rather than Cocoa
Apparently, the function calls added in 11729cdc use Foundation, not Cocoa. Cocoa is a massive superset of Foundation, and is not available on iOS. Patch contributed by Jay Freeman, but without providing an e-mail address. So the git commit cannot be attributed to him. Signed-off-by: Philip Withnall <withnall@endlessm.com> Fixes: #1869
This commit is contained in:
parent
4bd74ac582
commit
9c6c546236
@ -17,11 +17,7 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#ifndef HAVE_COCOA
|
||||
#error "Can only build gutils-macos.m on MacOS"
|
||||
#endif
|
||||
|
||||
#include <Cocoa/Cocoa.h>
|
||||
#include <Foundation/Foundation.h>
|
||||
#include "gutils.h"
|
||||
#include "gstrfuncs.h"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user