libretro core: Add some ifdefs (#1765)

This commit is contained in:
RedBlackAka 2026-02-23 21:35:02 +01:00 committed by GitHub
parent 76db4b08f6
commit 13e0fdeac1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 0 deletions

View File

@ -24,7 +24,9 @@ enum class InputType : u32 {
Static = 2,
Cubeb = 3,
OpenAL = 4,
#ifdef HAVE_LIBRETRO
LibRetro = 5,
#endif
};
struct InputDetails {

View File

@ -20,7 +20,9 @@ enum class SinkType : u32 {
Cubeb = 2,
OpenAL = 3,
SDL2 = 4,
#ifdef HAVE_LIBRETRO
LibRetro = 5,
#endif
};
struct SinkDetails {

View File

@ -15,7 +15,9 @@
#include <ios>
#include <limits>
#include <memory>
#ifdef HAVE_LIBRETRO
#include <mutex>
#endif
#include <optional>
#include <span>
#include <string>