mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05: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…
Reference in a new issue