mirror of
https://github.com/citron-neo/emulator.git
synced 2026-07-05 15:21:57 -07:00
port fixes
This commit is contained in:
Vendored
+1
-1
@@ -36,7 +36,7 @@
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
#if defined(WIN32) || defined(__WIN32__) || defined(_WIN32) || defined(_MSC_VER)
|
||||
#if defined(WIN32) || defined(__WIN32__) || defined(_WIN32) || defined(_MSC_VER) || defined(__FreeBSD__)
|
||||
#define RENDERDOC_CC __cdecl
|
||||
#elif defined(__linux__)
|
||||
#define RENDERDOC_CC
|
||||
|
||||
@@ -474,7 +474,7 @@ if (TARGET LibArchive::LibArchive)
|
||||
endif()
|
||||
|
||||
target_link_libraries(citron PRIVATE Vulkan::Headers)
|
||||
if (NOT WIN32)
|
||||
if (NOT WIN32 AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
|
||||
target_link_libraries(citron PRIVATE Qt6::GuiPrivate)
|
||||
endif()
|
||||
if (UNIX AND NOT APPLE)
|
||||
|
||||
@@ -8,7 +8,9 @@
|
||||
#include "core/frontend/emu_window.h"
|
||||
#include "citron/qt_common.h"
|
||||
|
||||
#if !defined(WIN32) && !defined(__APPLE__)
|
||||
#if defined(__FreeBSD__)
|
||||
#include "/usr/local/include/qt6/QtGui/6.10.1/QtGui/qpa/qplatformnativeinterface.h"
|
||||
#elif !defined(WIN32) && !defined(__APPLE__)
|
||||
#include <qpa/qplatformnativeinterface.h>
|
||||
#elif defined(__APPLE__)
|
||||
#include <objc/message.h>
|
||||
|
||||
@@ -19,6 +19,9 @@
|
||||
#include "input_common/input_poller.h"
|
||||
#include "input_common/main.h"
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#undef HAVE_LIBUSB
|
||||
#endif
|
||||
#ifdef HAVE_LIBUSB
|
||||
#include "input_common/drivers/gc_adapter.h"
|
||||
#endif
|
||||
@@ -31,6 +34,10 @@
|
||||
#include "input_common/drivers/android.h"
|
||||
#endif
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#undef HAVE_LIBUSB
|
||||
#endif
|
||||
|
||||
namespace InputCommon {
|
||||
|
||||
/// Dummy engine to get periodic updates
|
||||
|
||||
Reference in New Issue
Block a user