RetroArch/config.features.h

368 lines
5.7 KiB
C
Raw Normal View History

2012-04-21 21:25:32 +00:00
#ifndef __RARCH_FEATURES_H
#define __RARCH_FEATURES_H
#include <stddef.h>
#include <boolean.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
2015-04-16 19:58:19 +00:00
#ifdef HAVE_OVERLAY
#define SUPPORTS_OVERLAY true
2015-04-16 19:58:19 +00:00
#else
#define SUPPORTS_OVERLAY false
2015-04-16 19:58:19 +00:00
#endif
#ifdef HAVE_V4L2
#define SUPPORTS_V4L2 true
2015-04-16 19:58:19 +00:00
#else
#define SUPPORTS_V4L2 false
2015-04-16 19:58:19 +00:00
#endif
#ifdef HAVE_COMMAND
#define SUPPORTS_COMMAND true
2015-04-16 19:58:19 +00:00
#else
#define SUPPORTS_COMMAND false
2015-04-16 19:58:19 +00:00
#endif
#ifdef HAVE_NETWORK_CMD
#define SUPPORTS_NETWORK_COMMAND true
2015-04-16 19:58:19 +00:00
#else
#define SUPPORTS_NETWORK_COMMAND false
2015-04-16 19:58:19 +00:00
#endif
#ifdef HAVE_NETWORKGAMEPAD
#define SUPPORTS_NETWORK_GAMEPAD true
2015-11-25 17:53:19 +00:00
#else
#define SUPPORTS_NETWORK_GAMEPAD false
2015-11-25 17:53:19 +00:00
#endif
2015-11-28 03:01:10 +00:00
#ifdef HAVE_FILTERS_BUILTIN
#define SUPPORTS_CPU_FILTERS true
2015-11-28 03:01:10 +00:00
#else
#define SUPPORTS_CPU_FILTERS false
2015-11-28 03:01:10 +00:00
#endif
2015-04-16 19:58:19 +00:00
#ifdef HAVE_LIBUSB
#define SUPPORTS_LIBUSB true
2015-04-16 19:58:19 +00:00
#else
#define SUPPORTS_LIBUSB false
2015-04-16 19:58:19 +00:00
#endif
2019-12-29 02:21:57 +00:00
#if defined(HAVE_SDL)
#define SUPPORTS_SDL true
#else
#define SUPPORTS_SDL false
#endif
2014-08-10 22:13:49 +00:00
#ifdef HAVE_SDL2
#define SUPPORTS_SDL2 true
2014-08-10 22:13:49 +00:00
#else
#define SUPPORTS_SDL2 false
2014-08-10 22:13:49 +00:00
#endif
2011-11-30 16:46:58 +00:00
#ifdef HAVE_THREADS
#define SUPPORTS_THREAD true
2011-11-30 16:46:58 +00:00
#else
#define SUPPORTS_THREAD false
2011-11-30 16:46:58 +00:00
#endif
2011-11-01 17:45:50 +00:00
#ifdef HAVE_OPENGL
#define SUPPORTS_OPENGL true
2011-11-01 17:45:50 +00:00
#else
#define SUPPORTS_OPENGL false
2011-11-01 17:45:50 +00:00
#endif
2016-02-17 00:55:35 +00:00
#ifdef HAVE_VULKAN
#define SUPPORTS_VULKAN true
2016-02-17 00:55:35 +00:00
#else
#define SUPPORTS_VULKAN false
2016-02-17 00:55:35 +00:00
#endif
#ifdef HAVE_METAL
#define SUPPORTS_METAL true
#else
#define SUPPORTS_METAL false
#endif
#if defined(HAVE_OPENGLES) || defined(HAVE_OPENGLES2) || defined(HAVE_OPENGLES3) || defined(HAVE_OPENGLES_3_1) || defined(HAVE_OPENGLES_3_2)
#define SUPPORTS_OPENGLES true
#else
#define SUPPORTS_OPENGLES false
#endif
2012-09-25 10:58:45 +00:00
#ifdef HAVE_KMS
#define SUPPORTS_KMS true
2012-09-25 10:58:45 +00:00
#else
#define SUPPORTS_KMS false
2012-09-25 10:58:45 +00:00
#endif
2013-12-08 15:07:14 +00:00
#ifdef HAVE_UDEV
#define SUPPORTS_UDEV true
2013-12-08 15:07:14 +00:00
#else
#define SUPPORTS_UDEV false
2013-12-08 15:07:14 +00:00
#endif
2012-09-25 10:58:45 +00:00
#ifdef HAVE_VG
#define SUPPORTS_VG true
2012-09-25 10:58:45 +00:00
#else
#define SUPPORTS_VG false
2012-09-25 10:58:45 +00:00
#endif
#ifdef HAVE_EGL
#define SUPPORTS_EGL true
2012-09-25 10:58:45 +00:00
#else
#define SUPPORTS_EGL false
2012-09-25 10:58:45 +00:00
#endif
#ifdef HAVE_X11
#define SUPPORTS_X11 true
#else
#define SUPPORTS_X11 false
#endif
#ifdef HAVE_WAYLAND
#define SUPPORTS_WAYLAND true
#else
#define SUPPORTS_WAYLAND false
#endif
2011-06-25 16:11:04 +00:00
#ifdef HAVE_XVIDEO
#define SUPPORTS_XVIDEO true
2011-06-25 16:11:04 +00:00
#else
#define SUPPORTS_XVIDEO false
2011-06-25 16:11:04 +00:00
#endif
#ifdef HAVE_ALSA
#define SUPPORTS_ALSA true
#else
#define SUPPORTS_ALSA false
#endif
2017-06-24 01:44:00 +00:00
#ifdef HAVE_TINYALSA
#define SUPPORTS_TINYALSA true
2017-06-24 01:44:00 +00:00
#else
#define SUPPORTS_TINYALSA false
2017-06-24 01:44:00 +00:00
#endif
2015-04-19 16:41:11 +00:00
#ifdef HAVE_COREAUDIO
#define SUPPORTS_COREAUDIO true
2015-04-19 16:41:11 +00:00
#else
#define SUPPORTS_COREAUDIO false
2015-04-19 16:41:11 +00:00
#endif
#ifdef HAVE_COREAUDIO3
#define SUPPORTS_COREAUDIO3 true
#else
#define SUPPORTS_COREAUDIO3 false
#endif
2011-06-16 21:20:12 +00:00
#if defined(HAVE_OSS) || defined(HAVE_OSS_BSD)
#define SUPPORTS_OSS true
#else
#define SUPPORTS_OSS false
#endif
#ifdef HAVE_AL
#define SUPPORTS_AL true
#else
#define SUPPORTS_AL false
#endif
2015-04-16 19:58:19 +00:00
#ifdef HAVE_SL
#define SUPPORTS_SL true
2015-04-16 19:58:19 +00:00
#else
#define SUPPORTS_SL false
2015-04-16 19:58:19 +00:00
#endif
#ifdef HAVE_LIBRETRODB
#define SUPPORTS_LIBRETRODB true
2015-04-16 19:58:19 +00:00
#else
#define SUPPORTS_LIBRETRODB false
2015-04-16 19:58:19 +00:00
#endif
#ifdef HAVE_RSOUND
#define SUPPORTS_RSOUND true
#else
#define SUPPORTS_RSOUND false
#endif
#ifdef HAVE_ROAR
#define SUPPORTS_ROAR true
#else
#define SUPPORTS_ROAR false
#endif
#ifdef HAVE_JACK
#define SUPPORTS_JACK true
#else
#define SUPPORTS_JACK false
#endif
#ifdef HAVE_PULSE
#define SUPPORTS_PULSE true
#else
#define SUPPORTS_PULSE false
#endif
2011-12-25 00:59:30 +00:00
#ifdef HAVE_DSOUND
#define SUPPORTS_DSOUND true
2011-12-25 00:59:30 +00:00
#else
#define SUPPORTS_DSOUND false
2011-12-25 00:59:30 +00:00
#endif
2017-04-09 21:53:55 +00:00
#ifdef HAVE_WASAPI
#define SUPPORTS_WASAPI true
2017-04-09 21:53:55 +00:00
#else
#define SUPPORTS_WASAPI false
2017-04-09 21:53:55 +00:00
#endif
#ifdef HAVE_XAUDIO
#define SUPPORTS_XAUDIO true
#else
#define SUPPORTS_XAUDIO false
#endif
2013-01-21 22:51:56 +00:00
#ifdef HAVE_ZLIB
#define SUPPORTS_ZLIB true
2013-01-21 22:51:56 +00:00
#else
#define SUPPORTS_ZLIB false
2013-01-21 22:51:56 +00:00
#endif
2015-04-16 19:58:19 +00:00
#ifdef HAVE_7ZIP
#define SUPPORTS_7ZIP true
2015-04-16 19:58:19 +00:00
#else
#define SUPPORTS_7ZIP false
2015-04-16 19:58:19 +00:00
#endif
2011-05-11 15:52:16 +00:00
#ifdef HAVE_DYLIB
#define SUPPORTS_DYLIB true
#else
#define SUPPORTS_DYLIB false
#endif
#ifdef HAVE_CG
#define SUPPORTS_CG true
#else
#define SUPPORTS_CG false
#endif
#ifdef HAVE_GLSL
#define SUPPORTS_GLSL true
#else
#define SUPPORTS_GLSL false
#endif
#ifdef HAVE_HLSL
#define SUPPORTS_HLSL true
#else
#define SUPPORTS_HLSL false
#endif
#ifdef HAVE_SDL_IMAGE
#define SUPPORTS_SDL_IMAGE true
2011-05-18 20:11:34 +00:00
#else
#define SUPPORTS_SDL_IMAGE false
2011-05-18 20:11:34 +00:00
#endif
#ifdef HAVE_DYNAMIC
#define SUPPORTS_DYNAMIC true
#else
#define SUPPORTS_DYNAMIC false
#endif
#ifdef HAVE_FFMPEG
#define SUPPORTS_FFMPEG true
#else
#define SUPPORTS_FFMPEG false
#endif
2018-06-20 02:50:58 +00:00
#ifdef HAVE_MPV
#define SUPPORTS_MPV true
2018-06-20 02:50:58 +00:00
#else
#define SUPPORTS_MPV false
2018-06-20 02:50:58 +00:00
#endif
#ifdef HAVE_FREETYPE
#define SUPPORTS_FREETYPE true
#else
#define SUPPORTS_FREETYPE false
#endif
2018-10-01 00:42:09 +00:00
#ifdef HAVE_STB_FONT
#define SUPPORTS_STBFONT true
2018-10-01 00:42:09 +00:00
#else
#define SUPPORTS_STBFONT false
2018-10-01 00:42:09 +00:00
#endif
2016-09-29 19:07:10 +00:00
#ifdef HAVE_NETWORKING
#define SUPPORTS_NETPLAY true
2011-03-19 19:41:07 +00:00
#else
#define SUPPORTS_NETPLAY false
2011-03-19 19:41:07 +00:00
#endif
2011-06-06 18:21:26 +00:00
#ifdef HAVE_PYTHON
#define SUPPORTS_PYTHON true
2011-06-06 18:21:26 +00:00
#else
#define SUPPORTS_PYTHON false
2011-06-06 18:21:26 +00:00
#endif
#if defined(HAVE_COCOA) || defined(HAVE_COCOATOUCH) || defined(HAVE_COCOA_METAL)
#define SUPPORTS_COCOA true
2015-04-19 16:30:49 +00:00
#else
#define SUPPORTS_COCOA false
2015-04-19 16:30:49 +00:00
#endif
2015-04-19 16:41:11 +00:00
#ifdef HAVE_QT
#define SUPPORTS_QT true
2015-04-19 16:41:11 +00:00
#else
#define SUPPORTS_QT false
2015-04-19 16:41:11 +00:00
#endif
2015-04-19 16:30:49 +00:00
#ifdef HAVE_RPNG
#define SUPPORTS_RPNG true
2015-04-19 16:30:49 +00:00
#else
#define SUPPORTS_RPNG false
2015-04-19 16:30:49 +00:00
#endif
2016-05-18 12:36:23 +00:00
#ifdef HAVE_RJPEG
#define SUPPORTS_RJPEG true
2016-05-18 12:36:23 +00:00
#else
#define SUPPORTS_RJPEG false
2016-05-18 12:36:23 +00:00
#endif
#ifdef HAVE_RBMP
#define SUPPORTS_RBMP true
2016-05-18 12:36:23 +00:00
#else
#define SUPPORTS_RBMP false
2016-05-18 12:36:23 +00:00
#endif
#ifdef HAVE_RTGA
#define SUPPORTS_RTGA true
2016-05-18 12:36:23 +00:00
#else
#define SUPPORTS_RTGA false
2016-05-18 12:36:23 +00:00
#endif
2015-04-19 16:30:49 +00:00
#ifdef HAVE_CORETEXT
#define SUPPORTS_CORETEXT true
2015-04-19 16:30:49 +00:00
#else
#define SUPPORTS_CORETEXT false
2015-04-19 16:30:49 +00:00
#endif
#ifdef HAVE_CHECK
#define SUPPORTS_CHECK true
#else
#define SUPPORTS_CHECK false
#endif
2014-09-25 06:12:58 +00:00
#if !defined(_WIN32) && !defined(GLOBAL_CONFIG_DIR)
#if defined(__HAIKU__)
#define GLOBAL_CONFIG_DIR "/system/settings"
#else
#define GLOBAL_CONFIG_DIR "/etc"
#endif
#endif
#endif