mirror of
https://github.com/geode-sdk/geode.git
synced 2025-04-04 09:11:31 -04:00
attempt fixing mac build
This commit is contained in:
parent
516393ae99
commit
23de63001b
2 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,7 @@ USE_GEODE_NAMESPACE();
|
|||
#include <UIKit/UIKit.h>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <Geode/utils/web.hpp>
|
||||
|
||||
bool utils::clipboard::write(std::string const& data) {
|
||||
[UIPasteboard generalPasteboard].string = [NSString stringWithUTF8String:data.c_str()];
|
||||
|
|
|
@ -7,6 +7,7 @@ USE_GEODE_NAMESPACE();
|
|||
#include <functional>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <Geode/utils/web.hpp>
|
||||
|
||||
bool utils::clipboard::write(std::string const& data) {
|
||||
[[NSPasteboard generalPasteboard] clearContents];
|
||||
|
|
Loading…
Add table
Reference in a new issue