Skip to content

Commit

Permalink
Fix Apple Clang build
Browse files Browse the repository at this point in the history
  • Loading branch information
RipleyTom committed Feb 24, 2024
1 parent 2b385f2 commit 84f2b37
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rpcs3/Input/gui_pad_thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 84f2b37

Please sign in to comment.