mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
Fix Apple Clang build
This commit is contained in:
parent
2b385f28f0
commit
0f682b7da1
3 changed files with 13 additions and 0 deletions
|
|
@ -24,8 +24,11 @@
|
|||
#include <fcntl.h>
|
||||
#define CHECK_IOCTRL_RET(res) if (res == -1) { gui_log.error("gui_pad_thread: ioctl failed (errno=%d=%s)", res, strerror(errno)); }
|
||||
#elif defined(__APPLE__)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wold-style-cast"
|
||||
#include <ApplicationServices/ApplicationServices.h>
|
||||
#include <Carbon/Carbon.h>
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
#include <QApplication>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue