Rihen Rihen NkentseuDocumentation
Development version, not published. Built from main: it shows what is coming (fixes, descriptions written since the last tag) and can change with every commit. Go to the stable version 0.1.0-beta.11

NkPlatformDetect.h

Include
#include "NKPlatform/NkPlatformDetect.h"
Link (Jenga)
nkentseudependson(["NKPlatform"])

Macros · 197

NKENTSEU_PLATFORM_WINDOWSDetection macro for the Windows platform
NKENTSEU_PLATFORM_NAMEReadable name of the target platform, as a string (for example "Windows").
NKENTSEU_PLATFORM_WINDOWS_64Defined, with no value, when the target is 64-bit Windows (_WIN64).
NKENTSEU_PLATFORM_VERSIONReadable detail about the target, as a string (for example "Windows 64-bit").
NKENTSEU_PLATFORM_WINDOWS_32Defined, with no value, when the target is 32-bit Windows.
NKENTSEU_PLATFORM_WINDOWS_10_OR_LATERDefined, with no value, when the minimum Windows version targeted (_WIN32_WINNT) is Windows 10 or later.
NKENTSEU_PLATFORM_WINDOWS_8_1Defined, with no value, when the minimum Windows version targeted (_WIN32_WINNT) is Windows 8.1.
NKENTSEU_PLATFORM_WINDOWS_8Defined, with no value, when the minimum Windows version targeted (_WIN32_WINNT) is Windows 8.
NKENTSEU_PLATFORM_WINDOWS_7Defined, with no value, when the minimum Windows version targeted (_WIN32_WINNT) is Windows 7.
NKENTSEU_PLATFORM_UWPDefined, with no value, when the target is a UWP (Windows Runtime) application.
NKENTSEU_PLATFORM_MACOSDetection macro for the macOS platform
NKENTSEU_PLATFORM_IOSDetection macro for the iOS platform
NKENTSEU_PLATFORM_IOS_SIMULATORDefined, with no value, when the target is the iOS simulator.
NKENTSEU_PLATFORM_TVOSDefined, with no value, when the target is tvOS.
NKENTSEU_PLATFORM_WATCHOSDefined, with no value, when the target is watchOS.
NKENTSEU_PLATFORM_VISIONOSDefined, with no value, when the target is visionOS.
NKENTSEU_PLATFORM_VISIONOS_SIMULATORDefined, with no value, when the target is the visionOS simulator.
NKENTSEU_PLATFORM_MACCATALYSTDefined, with no value, when the target is Mac Catalyst (an iPad app on macOS).
NKENTSEU_PLATFORM_ANDROIDDetection macro for the Android platform
NKENTSEU_PLATFORM_LINUXDetection macro for the Linux platform
NKENTSEU_PLATFORM_FREEBSDDefined, with no value, when the target is FreeBSD.
NKENTSEU_PLATFORM_OPENBSDDefined, with no value, when the target is OpenBSD.
NKENTSEU_PLATFORM_NETBSDDefined, with no value, when the target is NetBSD.
NKENTSEU_PLATFORM_SOLARISDefined, with no value, when the target is Solaris.
NKENTSEU_PLATFORM_UNIXDefined, with no value, when the target is another Unix that detection does not recognise more precisely.
NKENTSEU_PLATFORM_EMSCRIPTENDetection macro for the Web platform (Emscripten/WebAssembly)
NKENTSEU_PLATFORM_WEBDefined, with no value, when the target is the web, compiled by Emscripten.
NKENTSEU_FORCE_WINDOWING_XCB_ONLYForces the use of XCB only
NKENTSEU_FORCE_WINDOWING_XLIB_ONLYForces the use of Xlib only
NKENTSEU_FORCE_WINDOWING_WAYLAND_ONLYForces the use of Wayland only
NKENTSEU_FORCE_WINDOWING_NOOP_ONLYForces the headless/noop backend only
NKENTSEU_WINDOWING_XCBDetection macro for the XCB windowing system
NKENTSEU_WINDOWING_XLIBDetection macro for the Xlib windowing system
NKENTSEU_WINDOWING_WAYLANDDetection macro for the Wayland windowing system
NKENTSEU_WINDOWING_X11Defined, with no value, when the chosen windowing system is X11 (Xlib or XCB).
NKENTSEU_WINDOWING_PREFERREDName of the chosen Linux windowing system, as a string ("Wayland", "XCB", "Xlib" or "Noop").
NKENTSEU_PLATFORM_HARMONYOSDefined, with no value, when the target is HarmonyOS.
NKENTSEU_PLATFORM_MOBILEMobile category macro
NKENTSEU_PLATFORM_PS3Defined, with no value, when the target is the PlayStation 3.
NKENTSEU_PLATFORM_PLAYSTATIONDefined, with no value, when the target is a PlayStation, whatever the model.
NKENTSEU_PLATFORM_PS4Defined, with no value, when the target is the PlayStation 4.
NKENTSEU_PLATFORM_PS5Defined, with no value, when the target is the PlayStation 5.
NKENTSEU_PLATFORM_PSPDefined, with no value, when the target is the PSP.
NKENTSEU_PLATFORM_PSVITADefined, with no value, when the target is the PS Vita.
NKENTSEU_PLATFORM_XBOX_ORIGINALDefined, with no value, when the target is the original Xbox.
NKENTSEU_PLATFORM_XBOXDefined, with no value, when the target is an Xbox, whatever the model.
NKENTSEU_PLATFORM_XBOX360Defined, with no value, when the target is the Xbox 360.
NKENTSEU_PLATFORM_XBOXONEDefined, with no value, when the target is the Xbox One.
NKENTSEU_PLATFORM_XBOX_SERIESDefined, with no value, when the target is the Xbox Series.
NKENTSEU_PLATFORM_NESDefined, with no value, when the target is the NES.
NKENTSEU_PLATFORM_NINTENDODefined, with no value, when the target is a Nintendo home console (NES to Switch).
NKENTSEU_PLATFORM_SNESDefined, with no value, when the target is the Super Nintendo.
NKENTSEU_PLATFORM_N64Defined, with no value, when the target is the Nintendo 64.
NKENTSEU_PLATFORM_GAMECUBEDefined, with no value, when the target is the GameCube.
NKENTSEU_PLATFORM_WIIDefined, with no value, when the target is the Wii.
NKENTSEU_PLATFORM_WIIUDefined, with no value, when the target is the Wii U.
NKENTSEU_PLATFORM_SWITCHDefined, with no value, when the target is the Nintendo Switch.
NKENTSEU_PLATFORM_GAMEBOYDefined, with no value, when the target is the Game Boy.
NKENTSEU_PLATFORM_GAMEBOY_COLORDefined, with no value, when the target is the Game Boy Color.
NKENTSEU_PLATFORM_GBADefined, with no value, when the target is the Game Boy Advance.
NKENTSEU_PLATFORM_NDSDefined, with no value, when the target is the Nintendo DS.
NKENTSEU_PLATFORM_3DSDefined, with no value, when the target is the Nintendo 3DS.
NKENTSEU_PLATFORM_MASTER_SYSTEMDefined, with no value, when the target is the Master System.
NKENTSEU_PLATFORM_SEGADefined, with no value, when the target is a Sega home console.
NKENTSEU_PLATFORM_GENESISDefined, with no value, when the target is the Genesis (Mega Drive).
NKENTSEU_PLATFORM_SATURNDefined, with no value, when the target is the Saturn.
NKENTSEU_PLATFORM_DREAMCASTDefined, with no value, when the target is the Dreamcast.
NKENTSEU_PLATFORM_GAME_GEARDefined, with no value, when the target is the Game Gear.
NKENTSEU_PLATFORM_ATARI2600Defined, with no value, when the target is the Atari 2600.
NKENTSEU_PLATFORM_ATARI_JAGUARDefined, with no value, when the target is the Atari Jaguar.
NKENTSEU_PLATFORM_NEOGEODefined, with no value, when the target is the Neo Geo.
NKENTSEU_PLATFORM_3DODefined, with no value, when the target is the 3DO.
NKENTSEU_PLATFORM_ARDUINODefined, with no value, when the target is an Arduino board.
NKENTSEU_PLATFORM_EMBEDDEDDefined, with no value, when the target is an embedded system.
NKENTSEU_PLATFORM_ESP32Defined, with no value, when the target is an ESP32.
NKENTSEU_PLATFORM_ESP8266Defined, with no value, when the target is an ESP8266.
NKENTSEU_PLATFORM_STM32Defined, with no value, when the target is an STM32 microcontroller.
NKENTSEU_PLATFORM_RASPBERRY_PIDefined, with no value, when the target is probably a Raspberry Pi (32-bit ARM on Linux, ARMv6, v7-A or v8-A; approximate detection).
NKENTSEU_PLATFORM_TEENSYDefined, with no value, when the target is a Teensy board.
NKENTSEU_PLATFORM_STEAM_DECKDefined, with no value, when the target is the Steam Deck (x86-64 Linux with STEAM_DECK or the Steam runtime).
NKENTSEU_PLATFORM_STEAMDefined, with no value, when the target is the Steam Deck or the Steam runtime.
NKENTSEU_PLATFORM_STEAM_RUNTIMEDefined, with no value, when the target is the Steam runtime (__STEAM_RUNTIME__).
NKENTSEU_PLATFORM_DESKTOPDesktop category macro
NKENTSEU_PLATFORM_HANDHELDDefined, with no value, when the target is a handheld console.
NKENTSEU_PLATFORM_CONSOLEConsole category macro
NKENTSEU_PLATFORM_EMSCRIPTEN_BROWSERDefined, with no value, when the target is the web (Emscripten build for a browser).
NKENTSEU_PLATFORM_POSIXDefined, with no value, when the target is a POSIX system (Linux, macOS, the BSDs, Android, iOS and their relatives).
NKENTSEU_PLATFORM_UNIX_LIKEDefined, with no value, when the target is a POSIX system of the Unix family.
NKENTSEU_PLATFORM_UNKNOWNDefined, with no value, when the target is no platform was recognised (the name is then "Unknown").
NKENTSEU_WINDOWS_ONLYKeeps its argument when the target is Windows, removes it otherwise.
NKENTSEU_NOT_WINDOWSRemoves its argument when the target is Windows, keeps it otherwise.
NKENTSEU_LINUX_ONLYKeeps its argument when the target is Linux, removes it otherwise.
NKENTSEU_NOT_LINUXRemoves its argument when the target is Linux, keeps it otherwise.
NKENTSEU_MACOS_ONLYKeeps its argument when the target is macOS, removes it otherwise.
NKENTSEU_NOT_MACOSRemoves its argument when the target is macOS, keeps it otherwise.
NKENTSEU_IOS_ONLYKeeps its argument when the target is iOS, removes it otherwise.
NKENTSEU_NOT_IOSRemoves its argument when the target is iOS, keeps it otherwise.
NKENTSEU_ANDROID_ONLYKeeps its argument when the target is Android, removes it otherwise.
NKENTSEU_NOT_ANDROIDRemoves its argument when the target is Android, keeps it otherwise.
NKENTSEU_TVOS_ONLYKeeps its argument when the target is tvOS, removes it otherwise.
NKENTSEU_NOT_TVOSRemoves its argument when the target is tvOS, keeps it otherwise.
NKENTSEU_WATCHOS_ONLYKeeps its argument when the target is watchOS, removes it otherwise.
NKENTSEU_NOT_WATCHOSRemoves its argument when the target is watchOS, keeps it otherwise.
NKENTSEU_VISIONOS_ONLYKeeps its argument when the target is visionOS, removes it otherwise.
NKENTSEU_NOT_VISIONOSRemoves its argument when the target is visionOS, keeps it otherwise.
NKENTSEU_IPADOS_ONLYKeeps its argument when the target is iPadOS, removes it otherwise.
NKENTSEU_NOT_IPADOSRemoves its argument when the target is iPadOS, keeps it otherwise.
NKENTSEU_FREEBSD_ONLYKeeps its argument when the target is FreeBSD, removes it otherwise.
NKENTSEU_NOT_FREEBSDRemoves its argument when the target is FreeBSD, keeps it otherwise.
NKENTSEU_HARMONYOS_ONLYKeeps its argument when the target is HarmonyOS, removes it otherwise.
NKENTSEU_NOT_HARMONYOSRemoves its argument when the target is HarmonyOS, keeps it otherwise.
NKENTSEU_PS5_ONLYKeeps its argument when the target is the PlayStation 5, removes it otherwise.
NKENTSEU_NOT_PS5Removes its argument when the target is the PlayStation 5, keeps it otherwise.
NKENTSEU_PS4_ONLYKeeps its argument when the target is the PlayStation 4, removes it otherwise.
NKENTSEU_NOT_PS4Removes its argument when the target is the PlayStation 4, keeps it otherwise.
NKENTSEU_PS3_ONLYKeeps its argument when the target is the PlayStation 3, removes it otherwise.
NKENTSEU_NOT_PS3Removes its argument when the target is the PlayStation 3, keeps it otherwise.
NKENTSEU_PS2_ONLYKeeps its argument when the target is the PlayStation 2, removes it otherwise.
NKENTSEU_NOT_PS2Removes its argument when the target is the PlayStation 2, keeps it otherwise.
NKENTSEU_PS1_ONLYKeeps its argument when the target is the original PlayStation, removes it otherwise.
NKENTSEU_NOT_PS1Removes its argument when the target is the original PlayStation, keeps it otherwise.
NKENTSEU_PSP_ONLYKeeps its argument when the target is the PSP, removes it otherwise.
NKENTSEU_NOT_PSPRemoves its argument when the target is the PSP, keeps it otherwise.
NKENTSEU_PSVITA_ONLYKeeps its argument when the target is the PS Vita, removes it otherwise.
NKENTSEU_NOT_PSVITARemoves its argument when the target is the PS Vita, keeps it otherwise.
NKENTSEU_XBOX_SERIES_ONLYKeeps its argument when the target is the Xbox Series, removes it otherwise.
NKENTSEU_NOT_XBOX_SERIESRemoves its argument when the target is the Xbox Series, keeps it otherwise.
NKENTSEU_XBOXONE_ONLYKeeps its argument when the target is the Xbox One, removes it otherwise.
NKENTSEU_NOT_XBOXONERemoves its argument when the target is the Xbox One, keeps it otherwise.
NKENTSEU_XBOX360_ONLYKeeps its argument when the target is the Xbox 360, removes it otherwise.
NKENTSEU_NOT_XBOX360Removes its argument when the target is the Xbox 360, keeps it otherwise.
NKENTSEU_XBOX_ORIGINAL_ONLYKeeps its argument when the target is the original Xbox, removes it otherwise.
NKENTSEU_NOT_XBOX_ORIGINALRemoves its argument when the target is the original Xbox, keeps it otherwise.
NKENTSEU_SWITCH_ONLYKeeps its argument when the target is the Nintendo Switch, removes it otherwise.
NKENTSEU_NOT_SWITCHRemoves its argument when the target is the Nintendo Switch, keeps it otherwise.
NKENTSEU_WIIU_ONLYKeeps its argument when the target is the Wii U, removes it otherwise.
NKENTSEU_NOT_WIIURemoves its argument when the target is the Wii U, keeps it otherwise.
NKENTSEU_WII_ONLYKeeps its argument when the target is the Wii, removes it otherwise.
NKENTSEU_NOT_WIIRemoves its argument when the target is the Wii, keeps it otherwise.
NKENTSEU_GAMECUBE_ONLYKeeps its argument when the target is the GameCube, removes it otherwise.
NKENTSEU_NOT_GAMECUBERemoves its argument when the target is the GameCube, keeps it otherwise.
NKENTSEU_N64_ONLYKeeps its argument when the target is the Nintendo 64, removes it otherwise.
NKENTSEU_NOT_N64Removes its argument when the target is the Nintendo 64, keeps it otherwise.
NKENTSEU_3DS_ONLYKeeps its argument when the target is the Nintendo 3DS, removes it otherwise.
NKENTSEU_NOT_3DSRemoves its argument when the target is the Nintendo 3DS, keeps it otherwise.
NKENTSEU_NDS_ONLYKeeps its argument when the target is the Nintendo DS, removes it otherwise.
NKENTSEU_NOT_NDSRemoves its argument when the target is the Nintendo DS, keeps it otherwise.
NKENTSEU_GBA_ONLYKeeps its argument when the target is the Game Boy Advance, removes it otherwise.
NKENTSEU_NOT_GBARemoves its argument when the target is the Game Boy Advance, keeps it otherwise.
NKENTSEU_GAMEBOY_ONLYKeeps its argument when the target is the Game Boy, removes it otherwise.
NKENTSEU_NOT_GAMEBOYRemoves its argument when the target is the Game Boy, keeps it otherwise.
NKENTSEU_DREAMCAST_ONLYKeeps its argument when the target is the Dreamcast, removes it otherwise.
NKENTSEU_NOT_DREAMCASTRemoves its argument when the target is the Dreamcast, keeps it otherwise.
NKENTSEU_SATURN_ONLYKeeps its argument when the target is the Saturn, removes it otherwise.
NKENTSEU_NOT_SATURNRemoves its argument when the target is the Saturn, keeps it otherwise.
NKENTSEU_GENESIS_ONLYKeeps its argument when the target is the Genesis (Mega Drive), removes it otherwise.
NKENTSEU_NOT_GENESISRemoves its argument when the target is the Genesis (Mega Drive), keeps it otherwise.
NKENTSEU_WEB_ONLYKeeps its argument when the target is the web, compiled by Emscripten, removes it otherwise.
NKENTSEU_NOT_WEBRemoves its argument when the target is the web, compiled by Emscripten, keeps it otherwise.
NKENTSEU_EMSCRIPTEN_ONLYKeeps its argument when the target is the web, compiled by Emscripten, removes it otherwise.
NKENTSEU_NOT_EMSCRIPTENRemoves its argument when the target is the web, compiled by Emscripten, keeps it otherwise.
NKENTSEU_ESP32_ONLYKeeps its argument when the target is an ESP32, removes it otherwise.
NKENTSEU_NOT_ESP32Removes its argument when the target is an ESP32, keeps it otherwise.
NKENTSEU_ARDUINO_ONLYKeeps its argument when the target is an Arduino board, removes it otherwise.
NKENTSEU_NOT_ARDUINORemoves its argument when the target is an Arduino board, keeps it otherwise.
NKENTSEU_STM32_ONLYKeeps its argument when the target is an STM32 microcontroller, removes it otherwise.
NKENTSEU_NOT_STM32Removes its argument when the target is an STM32 microcontroller, keeps it otherwise.
NKENTSEU_RASPBERRY_PI_ONLYKeeps its argument when the target is probably a Raspberry Pi (32-bit ARM on Linux, ARMv6, v7-A or v8-A; approximate detection), removes it otherwise.
NKENTSEU_NOT_RASPBERRY_PIRemoves its argument when the target is probably a Raspberry Pi (32-bit ARM on Linux, ARMv6, v7-A or v8-A; approximate detection), keeps it otherwise.
NKENTSEU_STEAM_DECK_ONLYKeeps its argument when the target is the Steam Deck (x86-64 Linux with STEAM_DECK or the Steam runtime), removes it otherwise.
NKENTSEU_NOT_STEAM_DECKRemoves its argument when the target is the Steam Deck (x86-64 Linux with STEAM_DECK or the Steam runtime), keeps it otherwise.
NKENTSEU_XCB_ONLYKeeps its argument when the chosen windowing system is XCB, removes it otherwise.
NKENTSEU_NOT_XCBRemoves its argument when the chosen windowing system is XCB, keeps it otherwise.
NKENTSEU_XLIB_ONLYKeeps its argument when the chosen windowing system is Xlib, removes it otherwise.
NKENTSEU_NOT_XLIBRemoves its argument when the chosen windowing system is Xlib, keeps it otherwise.
NKENTSEU_WAYLAND_ONLYKeeps its argument when the chosen windowing system is Wayland, removes it otherwise.
NKENTSEU_NOT_WAYLANDRemoves its argument when the chosen windowing system is Wayland, keeps it otherwise.
NKENTSEU_X11_ONLYKeeps its argument when the chosen windowing system is X11 (Xlib or XCB), removes it otherwise.
NKENTSEU_NOT_X11Removes its argument when the chosen windowing system is X11 (Xlib or XCB), keeps it otherwise.
NKENTSEU_DESKTOP_ONLYKeeps its argument when the target is a desktop system (Windows except UWP and Xbox, macOS, Linux except Android), removes it otherwise.
NKENTSEU_NOT_DESKTOPRemoves its argument when the target is a desktop system (Windows except UWP and Xbox, macOS, Linux except Android), keeps it otherwise.
NKENTSEU_MOBILE_ONLYKeeps its argument when the target is a mobile system, removes it otherwise.
NKENTSEU_NOT_MOBILERemoves its argument when the target is a mobile system, keeps it otherwise.
NKENTSEU_CONSOLE_ONLYKeeps its argument when the target is a game console, removes it otherwise.
NKENTSEU_NOT_CONSOLERemoves its argument when the target is a game console, keeps it otherwise.
NKENTSEU_HANDHELD_ONLYKeeps its argument when the target is a handheld console, removes it otherwise.
NKENTSEU_NOT_HANDHELDRemoves its argument when the target is a handheld console, keeps it otherwise.
NKENTSEU_EMBEDDED_ONLYKeeps its argument when the target is an embedded system, removes it otherwise.
NKENTSEU_NOT_EMBEDDEDRemoves its argument when the target is an embedded system, keeps it otherwise.
NKENTSEU_UNIX_ONLYKeeps its argument when the target is a POSIX system of the Unix family, removes it otherwise.
NKENTSEU_NOT_UNIXRemoves its argument when the target is a POSIX system of the Unix family, keeps it otherwise.
NKENTSEU_PLAYSTATION_ONLYKeeps its argument when the target is a PlayStation, whatever the model, removes it otherwise.
NKENTSEU_NOT_PLAYSTATIONRemoves its argument when the target is a PlayStation, whatever the model, keeps it otherwise.
NKENTSEU_XBOX_ONLYKeeps its argument when the target is an Xbox, whatever the model, removes it otherwise.
NKENTSEU_NOT_XBOXRemoves its argument when the target is an Xbox, whatever the model, keeps it otherwise.
NKENTSEU_NINTENDO_ONLYKeeps its argument when the target is a Nintendo home console (NES to Switch), removes it otherwise.
NKENTSEU_NOT_NINTENDORemoves its argument when the target is a Nintendo home console (NES to Switch), keeps it otherwise.

Member details

NKENTSEU_PLATFORM_WINDOWS

#
macro
#define NKENTSEU_PLATFORM_WINDOWS

Detection macro for the Windows platform

NKENTSEU_PLATFORM_NAME

#
macro
#define NKENTSEU_PLATFORM_NAME

Readable name of the target platform, as a string (for example "Windows").

NKENTSEU_PLATFORM_WINDOWS_64

#
macro
#define NKENTSEU_PLATFORM_WINDOWS_64

Defined, with no value, when the target is 64-bit Windows (_WIN64).

NKENTSEU_PLATFORM_VERSION

#
macro
#define NKENTSEU_PLATFORM_VERSION

Readable detail about the target, as a string (for example "Windows 64-bit").

NKENTSEU_PLATFORM_WINDOWS_32

#
macro
#define NKENTSEU_PLATFORM_WINDOWS_32

Defined, with no value, when the target is 32-bit Windows.

NKENTSEU_PLATFORM_WINDOWS_10_OR_LATER

#
macro
#define NKENTSEU_PLATFORM_WINDOWS_10_OR_LATER

Defined, with no value, when the minimum Windows version targeted (_WIN32_WINNT) is Windows 10 or later.

NKENTSEU_PLATFORM_WINDOWS_8_1

#
macro
#define NKENTSEU_PLATFORM_WINDOWS_8_1

Defined, with no value, when the minimum Windows version targeted (_WIN32_WINNT) is Windows 8.1.

NKENTSEU_PLATFORM_WINDOWS_8

#
macro
#define NKENTSEU_PLATFORM_WINDOWS_8

Defined, with no value, when the minimum Windows version targeted (_WIN32_WINNT) is Windows 8.

NKENTSEU_PLATFORM_WINDOWS_7

#
macro
#define NKENTSEU_PLATFORM_WINDOWS_7

Defined, with no value, when the minimum Windows version targeted (_WIN32_WINNT) is Windows 7.

NKENTSEU_PLATFORM_UWP

#
macro
#define NKENTSEU_PLATFORM_UWP

Defined, with no value, when the target is a UWP (Windows Runtime) application.

NKENTSEU_PLATFORM_MACOS

#
macro
#define NKENTSEU_PLATFORM_MACOS

Detection macro for the macOS platform

NKENTSEU_PLATFORM_IOS

#
macro
#define NKENTSEU_PLATFORM_IOS

Detection macro for the iOS platform

NKENTSEU_PLATFORM_IOS_SIMULATOR

#
macro
#define NKENTSEU_PLATFORM_IOS_SIMULATOR

Defined, with no value, when the target is the iOS simulator.

NKENTSEU_PLATFORM_TVOS

#
macro
#define NKENTSEU_PLATFORM_TVOS

Defined, with no value, when the target is tvOS.

NKENTSEU_PLATFORM_WATCHOS

#
macro
#define NKENTSEU_PLATFORM_WATCHOS

Defined, with no value, when the target is watchOS.

NKENTSEU_PLATFORM_VISIONOS

#
macro
#define NKENTSEU_PLATFORM_VISIONOS

Defined, with no value, when the target is visionOS.

NKENTSEU_PLATFORM_VISIONOS_SIMULATOR

#
macro
#define NKENTSEU_PLATFORM_VISIONOS_SIMULATOR

Defined, with no value, when the target is the visionOS simulator.

NKENTSEU_PLATFORM_MACCATALYST

#
macro
#define NKENTSEU_PLATFORM_MACCATALYST

Defined, with no value, when the target is Mac Catalyst (an iPad app on macOS).

NKENTSEU_PLATFORM_ANDROID

#
macro
#define NKENTSEU_PLATFORM_ANDROID

Detection macro for the Android platform

NKENTSEU_PLATFORM_LINUX

#
macro
#define NKENTSEU_PLATFORM_LINUX

Detection macro for the Linux platform

NKENTSEU_PLATFORM_FREEBSD

#
macro
#define NKENTSEU_PLATFORM_FREEBSD

Defined, with no value, when the target is FreeBSD.

NKENTSEU_PLATFORM_OPENBSD

#
macro
#define NKENTSEU_PLATFORM_OPENBSD

Defined, with no value, when the target is OpenBSD.

NKENTSEU_PLATFORM_NETBSD

#
macro
#define NKENTSEU_PLATFORM_NETBSD

Defined, with no value, when the target is NetBSD.

NKENTSEU_PLATFORM_SOLARIS

#
macro
#define NKENTSEU_PLATFORM_SOLARIS

Defined, with no value, when the target is Solaris.

NKENTSEU_PLATFORM_UNIX

#
macro
#define NKENTSEU_PLATFORM_UNIX

Defined, with no value, when the target is another Unix that detection does not recognise more precisely.

NKENTSEU_PLATFORM_EMSCRIPTEN

#
macro
#define NKENTSEU_PLATFORM_EMSCRIPTEN

Detection macro for the Web platform (Emscripten/WebAssembly)

NKENTSEU_PLATFORM_WEB

#
macro
#define NKENTSEU_PLATFORM_WEB

Defined, with no value, when the target is the web, compiled by Emscripten.

NKENTSEU_FORCE_WINDOWING_XCB_ONLY

#
macrooption you define yourself
#define NKENTSEU_FORCE_WINDOWING_XCB_ONLY

Forces the use of XCB only

NKENTSEU_FORCE_WINDOWING_XLIB_ONLY

#
macrooption you define yourself
#define NKENTSEU_FORCE_WINDOWING_XLIB_ONLY

Forces the use of Xlib only

NKENTSEU_FORCE_WINDOWING_WAYLAND_ONLY

#
macrooption you define yourself
#define NKENTSEU_FORCE_WINDOWING_WAYLAND_ONLY

Forces the use of Wayland only

NKENTSEU_FORCE_WINDOWING_NOOP_ONLY

#
macrooption you define yourself
#define NKENTSEU_FORCE_WINDOWING_NOOP_ONLY

Forces the headless/noop backend only

NKENTSEU_WINDOWING_XCB

#
macro
#define NKENTSEU_WINDOWING_XCB

Detection macro for the XCB windowing system

NKENTSEU_WINDOWING_XLIB

#
macro
#define NKENTSEU_WINDOWING_XLIB

Detection macro for the Xlib windowing system

NKENTSEU_WINDOWING_WAYLAND

#
macro
#define NKENTSEU_WINDOWING_WAYLAND

Detection macro for the Wayland windowing system

NKENTSEU_WINDOWING_X11

#
macro
#define NKENTSEU_WINDOWING_X11

Defined, with no value, when the chosen windowing system is X11 (Xlib or XCB).

NKENTSEU_WINDOWING_PREFERRED

#
macro
#define NKENTSEU_WINDOWING_PREFERRED

Name of the chosen Linux windowing system, as a string ("Wayland", "XCB", "Xlib" or "Noop").

NKENTSEU_PLATFORM_HARMONYOS

#
macro
#define NKENTSEU_PLATFORM_HARMONYOS

Defined, with no value, when the target is HarmonyOS.

NKENTSEU_PLATFORM_MOBILE

#
macro
#define NKENTSEU_PLATFORM_MOBILE

Mobile category macro

NKENTSEU_PLATFORM_PS3

#
macro
#define NKENTSEU_PLATFORM_PS3

Defined, with no value, when the target is the PlayStation 3.

NKENTSEU_PLATFORM_PLAYSTATION

#
macro
#define NKENTSEU_PLATFORM_PLAYSTATION

Defined, with no value, when the target is a PlayStation, whatever the model.

NKENTSEU_PLATFORM_PS4

#
macro
#define NKENTSEU_PLATFORM_PS4

Defined, with no value, when the target is the PlayStation 4.

NKENTSEU_PLATFORM_PS5

#
macro
#define NKENTSEU_PLATFORM_PS5

Defined, with no value, when the target is the PlayStation 5.

NKENTSEU_PLATFORM_PSP

#
macro
#define NKENTSEU_PLATFORM_PSP

Defined, with no value, when the target is the PSP.

NKENTSEU_PLATFORM_PSVITA

#
macro
#define NKENTSEU_PLATFORM_PSVITA

Defined, with no value, when the target is the PS Vita.

NKENTSEU_PLATFORM_XBOX_ORIGINAL

#
macro
#define NKENTSEU_PLATFORM_XBOX_ORIGINAL

Defined, with no value, when the target is the original Xbox.

NKENTSEU_PLATFORM_XBOX

#
macro
#define NKENTSEU_PLATFORM_XBOX

Defined, with no value, when the target is an Xbox, whatever the model.

NKENTSEU_PLATFORM_XBOX360

#
macro
#define NKENTSEU_PLATFORM_XBOX360

Defined, with no value, when the target is the Xbox 360.

NKENTSEU_PLATFORM_XBOXONE

#
macro
#define NKENTSEU_PLATFORM_XBOXONE

Defined, with no value, when the target is the Xbox One.

NKENTSEU_PLATFORM_XBOX_SERIES

#
macro
#define NKENTSEU_PLATFORM_XBOX_SERIES

Defined, with no value, when the target is the Xbox Series.

NKENTSEU_PLATFORM_NES

#
macro
#define NKENTSEU_PLATFORM_NES

Defined, with no value, when the target is the NES.

NKENTSEU_PLATFORM_NINTENDO

#
macro
#define NKENTSEU_PLATFORM_NINTENDO

Defined, with no value, when the target is a Nintendo home console (NES to Switch).

NKENTSEU_PLATFORM_SNES

#
macro
#define NKENTSEU_PLATFORM_SNES

Defined, with no value, when the target is the Super Nintendo.

NKENTSEU_PLATFORM_N64

#
macro
#define NKENTSEU_PLATFORM_N64

Defined, with no value, when the target is the Nintendo 64.

NKENTSEU_PLATFORM_GAMECUBE

#
macro
#define NKENTSEU_PLATFORM_GAMECUBE

Defined, with no value, when the target is the GameCube.

NKENTSEU_PLATFORM_WII

#
macro
#define NKENTSEU_PLATFORM_WII

Defined, with no value, when the target is the Wii.

NKENTSEU_PLATFORM_WIIU

#
macro
#define NKENTSEU_PLATFORM_WIIU

Defined, with no value, when the target is the Wii U.

NKENTSEU_PLATFORM_SWITCH

#
macro
#define NKENTSEU_PLATFORM_SWITCH

Defined, with no value, when the target is the Nintendo Switch.

NKENTSEU_PLATFORM_GAMEBOY

#
macro
#define NKENTSEU_PLATFORM_GAMEBOY

Defined, with no value, when the target is the Game Boy.

NKENTSEU_PLATFORM_GAMEBOY_COLOR

#
macro
#define NKENTSEU_PLATFORM_GAMEBOY_COLOR

Defined, with no value, when the target is the Game Boy Color.

NKENTSEU_PLATFORM_GBA

#
macro
#define NKENTSEU_PLATFORM_GBA

Defined, with no value, when the target is the Game Boy Advance.

NKENTSEU_PLATFORM_NDS

#
macro
#define NKENTSEU_PLATFORM_NDS

Defined, with no value, when the target is the Nintendo DS.

NKENTSEU_PLATFORM_3DS

#
macro
#define NKENTSEU_PLATFORM_3DS

Defined, with no value, when the target is the Nintendo 3DS.

NKENTSEU_PLATFORM_MASTER_SYSTEM

#
macro
#define NKENTSEU_PLATFORM_MASTER_SYSTEM

Defined, with no value, when the target is the Master System.

NKENTSEU_PLATFORM_SEGA

#
macro
#define NKENTSEU_PLATFORM_SEGA

Defined, with no value, when the target is a Sega home console.

NKENTSEU_PLATFORM_GENESIS

#
macro
#define NKENTSEU_PLATFORM_GENESIS

Defined, with no value, when the target is the Genesis (Mega Drive).

NKENTSEU_PLATFORM_SATURN

#
macro
#define NKENTSEU_PLATFORM_SATURN

Defined, with no value, when the target is the Saturn.

NKENTSEU_PLATFORM_DREAMCAST

#
macro
#define NKENTSEU_PLATFORM_DREAMCAST

Defined, with no value, when the target is the Dreamcast.

NKENTSEU_PLATFORM_GAME_GEAR

#
macro
#define NKENTSEU_PLATFORM_GAME_GEAR

Defined, with no value, when the target is the Game Gear.

NKENTSEU_PLATFORM_ATARI2600

#
macro
#define NKENTSEU_PLATFORM_ATARI2600

Defined, with no value, when the target is the Atari 2600.

NKENTSEU_PLATFORM_ATARI_JAGUAR

#
macro
#define NKENTSEU_PLATFORM_ATARI_JAGUAR

Defined, with no value, when the target is the Atari Jaguar.

NKENTSEU_PLATFORM_NEOGEO

#
macro
#define NKENTSEU_PLATFORM_NEOGEO

Defined, with no value, when the target is the Neo Geo.

NKENTSEU_PLATFORM_3DO

#
macro
#define NKENTSEU_PLATFORM_3DO

Defined, with no value, when the target is the 3DO.

NKENTSEU_PLATFORM_ARDUINO

#
macro
#define NKENTSEU_PLATFORM_ARDUINO

Defined, with no value, when the target is an Arduino board.

NKENTSEU_PLATFORM_EMBEDDED

#
macro
#define NKENTSEU_PLATFORM_EMBEDDED

Defined, with no value, when the target is an embedded system.

NKENTSEU_PLATFORM_ESP32

#
macro
#define NKENTSEU_PLATFORM_ESP32

Defined, with no value, when the target is an ESP32.

NKENTSEU_PLATFORM_ESP8266

#
macro
#define NKENTSEU_PLATFORM_ESP8266

Defined, with no value, when the target is an ESP8266.

NKENTSEU_PLATFORM_STM32

#
macro
#define NKENTSEU_PLATFORM_STM32

Defined, with no value, when the target is an STM32 microcontroller.

NKENTSEU_PLATFORM_RASPBERRY_PI

#
macro
#define NKENTSEU_PLATFORM_RASPBERRY_PI

Defined, with no value, when the target is probably a Raspberry Pi (32-bit ARM on Linux, ARMv6, v7-A or v8-A; approximate detection).

NKENTSEU_PLATFORM_TEENSY

#
macro
#define NKENTSEU_PLATFORM_TEENSY

Defined, with no value, when the target is a Teensy board.

NKENTSEU_PLATFORM_STEAM_DECK

#
macro
#define NKENTSEU_PLATFORM_STEAM_DECK

Defined, with no value, when the target is the Steam Deck (x86-64 Linux with STEAM_DECK or the Steam runtime).

NKENTSEU_PLATFORM_STEAM

#
macro
#define NKENTSEU_PLATFORM_STEAM

Defined, with no value, when the target is the Steam Deck or the Steam runtime.

NKENTSEU_PLATFORM_STEAM_RUNTIME

#
macro
#define NKENTSEU_PLATFORM_STEAM_RUNTIME

Defined, with no value, when the target is the Steam runtime (__STEAM_RUNTIME__).

NKENTSEU_PLATFORM_DESKTOP

#
macro
#define NKENTSEU_PLATFORM_DESKTOP

Desktop category macro

NKENTSEU_PLATFORM_HANDHELD

#
macro
#define NKENTSEU_PLATFORM_HANDHELD

Defined, with no value, when the target is a handheld console.

NKENTSEU_PLATFORM_CONSOLE

#
macro
#define NKENTSEU_PLATFORM_CONSOLE

Console category macro

NKENTSEU_PLATFORM_EMSCRIPTEN_BROWSER

#
macro
#define NKENTSEU_PLATFORM_EMSCRIPTEN_BROWSER

Defined, with no value, when the target is the web (Emscripten build for a browser).

NKENTSEU_PLATFORM_POSIX

#
macro
#define NKENTSEU_PLATFORM_POSIX

Defined, with no value, when the target is a POSIX system (Linux, macOS, the BSDs, Android, iOS and their relatives).

NKENTSEU_PLATFORM_UNIX_LIKE

#
macro
#define NKENTSEU_PLATFORM_UNIX_LIKE

Defined, with no value, when the target is a POSIX system of the Unix family.

NKENTSEU_PLATFORM_UNKNOWN

#
macro
#define NKENTSEU_PLATFORM_UNKNOWN

Defined, with no value, when the target is no platform was recognised (the name is then "Unknown").

NKENTSEU_WINDOWS_ONLY

#
macro
#define NKENTSEU_WINDOWS_ONLY(...)

Keeps its argument when the target is Windows, removes it otherwise.

NKENTSEU_NOT_WINDOWS

#
macro
#define NKENTSEU_NOT_WINDOWS(...)

Removes its argument when the target is Windows, keeps it otherwise.

NKENTSEU_LINUX_ONLY

#
macro
#define NKENTSEU_LINUX_ONLY(...)

Keeps its argument when the target is Linux, removes it otherwise.

NKENTSEU_NOT_LINUX

#
macro
#define NKENTSEU_NOT_LINUX(...)

Removes its argument when the target is Linux, keeps it otherwise.

NKENTSEU_MACOS_ONLY

#
macro
#define NKENTSEU_MACOS_ONLY(...)

Keeps its argument when the target is macOS, removes it otherwise.

NKENTSEU_NOT_MACOS

#
macro
#define NKENTSEU_NOT_MACOS(...)

Removes its argument when the target is macOS, keeps it otherwise.

NKENTSEU_IOS_ONLY

#
macro
#define NKENTSEU_IOS_ONLY(...)

Keeps its argument when the target is iOS, removes it otherwise.

NKENTSEU_NOT_IOS

#
macro
#define NKENTSEU_NOT_IOS(...)

Removes its argument when the target is iOS, keeps it otherwise.

NKENTSEU_ANDROID_ONLY

#
macro
#define NKENTSEU_ANDROID_ONLY(...)

Keeps its argument when the target is Android, removes it otherwise.

NKENTSEU_NOT_ANDROID

#
macro
#define NKENTSEU_NOT_ANDROID(...)

Removes its argument when the target is Android, keeps it otherwise.

NKENTSEU_TVOS_ONLY

#
macro
#define NKENTSEU_TVOS_ONLY(...)

Keeps its argument when the target is tvOS, removes it otherwise.

NKENTSEU_NOT_TVOS

#
macro
#define NKENTSEU_NOT_TVOS(...)

Removes its argument when the target is tvOS, keeps it otherwise.

NKENTSEU_WATCHOS_ONLY

#
macro
#define NKENTSEU_WATCHOS_ONLY(...)

Keeps its argument when the target is watchOS, removes it otherwise.

NKENTSEU_NOT_WATCHOS

#
macro
#define NKENTSEU_NOT_WATCHOS(...)

Removes its argument when the target is watchOS, keeps it otherwise.

NKENTSEU_VISIONOS_ONLY

#
macro
#define NKENTSEU_VISIONOS_ONLY(...)

Keeps its argument when the target is visionOS, removes it otherwise.

NKENTSEU_NOT_VISIONOS

#
macro
#define NKENTSEU_NOT_VISIONOS(...)

Removes its argument when the target is visionOS, keeps it otherwise.

NKENTSEU_IPADOS_ONLY

#
macro
#define NKENTSEU_IPADOS_ONLY(...)

Keeps its argument when the target is iPadOS, removes it otherwise.

NKENTSEU_NOT_IPADOS

#
macro
#define NKENTSEU_NOT_IPADOS(...)

Removes its argument when the target is iPadOS, keeps it otherwise.

NKENTSEU_FREEBSD_ONLY

#
macro
#define NKENTSEU_FREEBSD_ONLY(...)

Keeps its argument when the target is FreeBSD, removes it otherwise.

NKENTSEU_NOT_FREEBSD

#
macro
#define NKENTSEU_NOT_FREEBSD(...)

Removes its argument when the target is FreeBSD, keeps it otherwise.

NKENTSEU_HARMONYOS_ONLY

#
macro
#define NKENTSEU_HARMONYOS_ONLY(...)

Keeps its argument when the target is HarmonyOS, removes it otherwise.

NKENTSEU_NOT_HARMONYOS

#
macro
#define NKENTSEU_NOT_HARMONYOS(...)

Removes its argument when the target is HarmonyOS, keeps it otherwise.

NKENTSEU_PS5_ONLY

#
macro
#define NKENTSEU_PS5_ONLY(...)

Keeps its argument when the target is the PlayStation 5, removes it otherwise.

NKENTSEU_NOT_PS5

#
macro
#define NKENTSEU_NOT_PS5(...)

Removes its argument when the target is the PlayStation 5, keeps it otherwise.

NKENTSEU_PS4_ONLY

#
macro
#define NKENTSEU_PS4_ONLY(...)

Keeps its argument when the target is the PlayStation 4, removes it otherwise.

NKENTSEU_NOT_PS4

#
macro
#define NKENTSEU_NOT_PS4(...)

Removes its argument when the target is the PlayStation 4, keeps it otherwise.

NKENTSEU_PS3_ONLY

#
macro
#define NKENTSEU_PS3_ONLY(...)

Keeps its argument when the target is the PlayStation 3, removes it otherwise.

NKENTSEU_NOT_PS3

#
macro
#define NKENTSEU_NOT_PS3(...)

Removes its argument when the target is the PlayStation 3, keeps it otherwise.

NKENTSEU_PS2_ONLY

#
macro
#define NKENTSEU_PS2_ONLY(...)

Keeps its argument when the target is the PlayStation 2, removes it otherwise.

NKENTSEU_NOT_PS2

#
macro
#define NKENTSEU_NOT_PS2(...)

Removes its argument when the target is the PlayStation 2, keeps it otherwise.

NKENTSEU_PS1_ONLY

#
macro
#define NKENTSEU_PS1_ONLY(...)

Keeps its argument when the target is the original PlayStation, removes it otherwise.

NKENTSEU_NOT_PS1

#
macro
#define NKENTSEU_NOT_PS1(...)

Removes its argument when the target is the original PlayStation, keeps it otherwise.

NKENTSEU_PSP_ONLY

#
macro
#define NKENTSEU_PSP_ONLY(...)

Keeps its argument when the target is the PSP, removes it otherwise.

NKENTSEU_NOT_PSP

#
macro
#define NKENTSEU_NOT_PSP(...)

Removes its argument when the target is the PSP, keeps it otherwise.

NKENTSEU_PSVITA_ONLY

#
macro
#define NKENTSEU_PSVITA_ONLY(...)

Keeps its argument when the target is the PS Vita, removes it otherwise.

NKENTSEU_NOT_PSVITA

#
macro
#define NKENTSEU_NOT_PSVITA(...)

Removes its argument when the target is the PS Vita, keeps it otherwise.

NKENTSEU_XBOX_SERIES_ONLY

#
macro
#define NKENTSEU_XBOX_SERIES_ONLY(...)

Keeps its argument when the target is the Xbox Series, removes it otherwise.

NKENTSEU_NOT_XBOX_SERIES

#
macro
#define NKENTSEU_NOT_XBOX_SERIES(...)

Removes its argument when the target is the Xbox Series, keeps it otherwise.

NKENTSEU_XBOXONE_ONLY

#
macro
#define NKENTSEU_XBOXONE_ONLY(...)

Keeps its argument when the target is the Xbox One, removes it otherwise.

NKENTSEU_NOT_XBOXONE

#
macro
#define NKENTSEU_NOT_XBOXONE(...)

Removes its argument when the target is the Xbox One, keeps it otherwise.

NKENTSEU_XBOX360_ONLY

#
macro
#define NKENTSEU_XBOX360_ONLY(...)

Keeps its argument when the target is the Xbox 360, removes it otherwise.

NKENTSEU_NOT_XBOX360

#
macro
#define NKENTSEU_NOT_XBOX360(...)

Removes its argument when the target is the Xbox 360, keeps it otherwise.

NKENTSEU_XBOX_ORIGINAL_ONLY

#
macro
#define NKENTSEU_XBOX_ORIGINAL_ONLY(...)

Keeps its argument when the target is the original Xbox, removes it otherwise.

NKENTSEU_NOT_XBOX_ORIGINAL

#
macro
#define NKENTSEU_NOT_XBOX_ORIGINAL(...)

Removes its argument when the target is the original Xbox, keeps it otherwise.

NKENTSEU_SWITCH_ONLY

#
macro
#define NKENTSEU_SWITCH_ONLY(...)

Keeps its argument when the target is the Nintendo Switch, removes it otherwise.

NKENTSEU_NOT_SWITCH

#
macro
#define NKENTSEU_NOT_SWITCH(...)

Removes its argument when the target is the Nintendo Switch, keeps it otherwise.

NKENTSEU_WIIU_ONLY

#
macro
#define NKENTSEU_WIIU_ONLY(...)

Keeps its argument when the target is the Wii U, removes it otherwise.

NKENTSEU_NOT_WIIU

#
macro
#define NKENTSEU_NOT_WIIU(...)

Removes its argument when the target is the Wii U, keeps it otherwise.

NKENTSEU_WII_ONLY

#
macro
#define NKENTSEU_WII_ONLY(...)

Keeps its argument when the target is the Wii, removes it otherwise.

NKENTSEU_NOT_WII

#
macro
#define NKENTSEU_NOT_WII(...)

Removes its argument when the target is the Wii, keeps it otherwise.

NKENTSEU_GAMECUBE_ONLY

#
macro
#define NKENTSEU_GAMECUBE_ONLY(...)

Keeps its argument when the target is the GameCube, removes it otherwise.

NKENTSEU_NOT_GAMECUBE

#
macro
#define NKENTSEU_NOT_GAMECUBE(...)

Removes its argument when the target is the GameCube, keeps it otherwise.

NKENTSEU_N64_ONLY

#
macro
#define NKENTSEU_N64_ONLY(...)

Keeps its argument when the target is the Nintendo 64, removes it otherwise.

NKENTSEU_NOT_N64

#
macro
#define NKENTSEU_NOT_N64(...)

Removes its argument when the target is the Nintendo 64, keeps it otherwise.

NKENTSEU_3DS_ONLY

#
macro
#define NKENTSEU_3DS_ONLY(...)

Keeps its argument when the target is the Nintendo 3DS, removes it otherwise.

NKENTSEU_NOT_3DS

#
macro
#define NKENTSEU_NOT_3DS(...)

Removes its argument when the target is the Nintendo 3DS, keeps it otherwise.

NKENTSEU_NDS_ONLY

#
macro
#define NKENTSEU_NDS_ONLY(...)

Keeps its argument when the target is the Nintendo DS, removes it otherwise.

NKENTSEU_NOT_NDS

#
macro
#define NKENTSEU_NOT_NDS(...)

Removes its argument when the target is the Nintendo DS, keeps it otherwise.

NKENTSEU_GBA_ONLY

#
macro
#define NKENTSEU_GBA_ONLY(...)

Keeps its argument when the target is the Game Boy Advance, removes it otherwise.

NKENTSEU_NOT_GBA

#
macro
#define NKENTSEU_NOT_GBA(...)

Removes its argument when the target is the Game Boy Advance, keeps it otherwise.

NKENTSEU_GAMEBOY_ONLY

#
macro
#define NKENTSEU_GAMEBOY_ONLY(...)

Keeps its argument when the target is the Game Boy, removes it otherwise.

NKENTSEU_NOT_GAMEBOY

#
macro
#define NKENTSEU_NOT_GAMEBOY(...)

Removes its argument when the target is the Game Boy, keeps it otherwise.

NKENTSEU_DREAMCAST_ONLY

#
macro
#define NKENTSEU_DREAMCAST_ONLY(...)

Keeps its argument when the target is the Dreamcast, removes it otherwise.

NKENTSEU_NOT_DREAMCAST

#
macro
#define NKENTSEU_NOT_DREAMCAST(...)

Removes its argument when the target is the Dreamcast, keeps it otherwise.

NKENTSEU_SATURN_ONLY

#
macro
#define NKENTSEU_SATURN_ONLY(...)

Keeps its argument when the target is the Saturn, removes it otherwise.

NKENTSEU_NOT_SATURN

#
macro
#define NKENTSEU_NOT_SATURN(...)

Removes its argument when the target is the Saturn, keeps it otherwise.

NKENTSEU_GENESIS_ONLY

#
macro
#define NKENTSEU_GENESIS_ONLY(...)

Keeps its argument when the target is the Genesis (Mega Drive), removes it otherwise.

NKENTSEU_NOT_GENESIS

#
macro
#define NKENTSEU_NOT_GENESIS(...)

Removes its argument when the target is the Genesis (Mega Drive), keeps it otherwise.

NKENTSEU_WEB_ONLY

#
macro
#define NKENTSEU_WEB_ONLY(...)

Keeps its argument when the target is the web, compiled by Emscripten, removes it otherwise.

NKENTSEU_NOT_WEB

#
macro
#define NKENTSEU_NOT_WEB(...)

Removes its argument when the target is the web, compiled by Emscripten, keeps it otherwise.

NKENTSEU_EMSCRIPTEN_ONLY

#
macro
#define NKENTSEU_EMSCRIPTEN_ONLY(...)

Keeps its argument when the target is the web, compiled by Emscripten, removes it otherwise.

NKENTSEU_NOT_EMSCRIPTEN

#
macro
#define NKENTSEU_NOT_EMSCRIPTEN(...)

Removes its argument when the target is the web, compiled by Emscripten, keeps it otherwise.

NKENTSEU_ESP32_ONLY

#
macro
#define NKENTSEU_ESP32_ONLY(...)

Keeps its argument when the target is an ESP32, removes it otherwise.

NKENTSEU_NOT_ESP32

#
macro
#define NKENTSEU_NOT_ESP32(...)

Removes its argument when the target is an ESP32, keeps it otherwise.

NKENTSEU_ARDUINO_ONLY

#
macro
#define NKENTSEU_ARDUINO_ONLY(...)

Keeps its argument when the target is an Arduino board, removes it otherwise.

NKENTSEU_NOT_ARDUINO

#
macro
#define NKENTSEU_NOT_ARDUINO(...)

Removes its argument when the target is an Arduino board, keeps it otherwise.

NKENTSEU_STM32_ONLY

#
macro
#define NKENTSEU_STM32_ONLY(...)

Keeps its argument when the target is an STM32 microcontroller, removes it otherwise.

NKENTSEU_NOT_STM32

#
macro
#define NKENTSEU_NOT_STM32(...)

Removes its argument when the target is an STM32 microcontroller, keeps it otherwise.

NKENTSEU_RASPBERRY_PI_ONLY

#
macro
#define NKENTSEU_RASPBERRY_PI_ONLY(...)

Keeps its argument when the target is probably a Raspberry Pi (32-bit ARM on Linux, ARMv6, v7-A or v8-A; approximate detection), removes it otherwise.

NKENTSEU_NOT_RASPBERRY_PI

#
macro
#define NKENTSEU_NOT_RASPBERRY_PI(...)

Removes its argument when the target is probably a Raspberry Pi (32-bit ARM on Linux, ARMv6, v7-A or v8-A; approximate detection), keeps it otherwise.

NKENTSEU_STEAM_DECK_ONLY

#
macro
#define NKENTSEU_STEAM_DECK_ONLY(...)

Keeps its argument when the target is the Steam Deck (x86-64 Linux with STEAM_DECK or the Steam runtime), removes it otherwise.

NKENTSEU_NOT_STEAM_DECK

#
macro
#define NKENTSEU_NOT_STEAM_DECK(...)

Removes its argument when the target is the Steam Deck (x86-64 Linux with STEAM_DECK or the Steam runtime), keeps it otherwise.

NKENTSEU_XCB_ONLY

#
macro
#define NKENTSEU_XCB_ONLY(...)

Keeps its argument when the chosen windowing system is XCB, removes it otherwise.

NKENTSEU_NOT_XCB

#
macro
#define NKENTSEU_NOT_XCB(...)

Removes its argument when the chosen windowing system is XCB, keeps it otherwise.

NKENTSEU_XLIB_ONLY

#
macro
#define NKENTSEU_XLIB_ONLY(...)

Keeps its argument when the chosen windowing system is Xlib, removes it otherwise.

NKENTSEU_NOT_XLIB

#
macro
#define NKENTSEU_NOT_XLIB(...)

Removes its argument when the chosen windowing system is Xlib, keeps it otherwise.

NKENTSEU_WAYLAND_ONLY

#
macro
#define NKENTSEU_WAYLAND_ONLY(...)

Keeps its argument when the chosen windowing system is Wayland, removes it otherwise.

NKENTSEU_NOT_WAYLAND

#
macro
#define NKENTSEU_NOT_WAYLAND(...)

Removes its argument when the chosen windowing system is Wayland, keeps it otherwise.

NKENTSEU_X11_ONLY

#
macro
#define NKENTSEU_X11_ONLY(...)

Keeps its argument when the chosen windowing system is X11 (Xlib or XCB), removes it otherwise.

NKENTSEU_NOT_X11

#
macro
#define NKENTSEU_NOT_X11(...)

Removes its argument when the chosen windowing system is X11 (Xlib or XCB), keeps it otherwise.

NKENTSEU_DESKTOP_ONLY

#
macro
#define NKENTSEU_DESKTOP_ONLY(...)

Keeps its argument when the target is a desktop system (Windows except UWP and Xbox, macOS, Linux except Android), removes it otherwise.

NKENTSEU_NOT_DESKTOP

#
macro
#define NKENTSEU_NOT_DESKTOP(...)

Removes its argument when the target is a desktop system (Windows except UWP and Xbox, macOS, Linux except Android), keeps it otherwise.

NKENTSEU_MOBILE_ONLY

#
macro
#define NKENTSEU_MOBILE_ONLY(...)

Keeps its argument when the target is a mobile system, removes it otherwise.

NKENTSEU_NOT_MOBILE

#
macro
#define NKENTSEU_NOT_MOBILE(...)

Removes its argument when the target is a mobile system, keeps it otherwise.

NKENTSEU_CONSOLE_ONLY

#
macro
#define NKENTSEU_CONSOLE_ONLY(...)

Keeps its argument when the target is a game console, removes it otherwise.

NKENTSEU_NOT_CONSOLE

#
macro
#define NKENTSEU_NOT_CONSOLE(...)

Removes its argument when the target is a game console, keeps it otherwise.

NKENTSEU_HANDHELD_ONLY

#
macro
#define NKENTSEU_HANDHELD_ONLY(...)

Keeps its argument when the target is a handheld console, removes it otherwise.

NKENTSEU_NOT_HANDHELD

#
macro
#define NKENTSEU_NOT_HANDHELD(...)

Removes its argument when the target is a handheld console, keeps it otherwise.

NKENTSEU_EMBEDDED_ONLY

#
macro
#define NKENTSEU_EMBEDDED_ONLY(...)

Keeps its argument when the target is an embedded system, removes it otherwise.

NKENTSEU_NOT_EMBEDDED

#
macro
#define NKENTSEU_NOT_EMBEDDED(...)

Removes its argument when the target is an embedded system, keeps it otherwise.

NKENTSEU_UNIX_ONLY

#
macro
#define NKENTSEU_UNIX_ONLY(...)

Keeps its argument when the target is a POSIX system of the Unix family, removes it otherwise.

NKENTSEU_NOT_UNIX

#
macro
#define NKENTSEU_NOT_UNIX(...)

Removes its argument when the target is a POSIX system of the Unix family, keeps it otherwise.

NKENTSEU_PLAYSTATION_ONLY

#
macro
#define NKENTSEU_PLAYSTATION_ONLY(...)

Keeps its argument when the target is a PlayStation, whatever the model, removes it otherwise.

NKENTSEU_NOT_PLAYSTATION

#
macro
#define NKENTSEU_NOT_PLAYSTATION(...)

Removes its argument when the target is a PlayStation, whatever the model, keeps it otherwise.

NKENTSEU_XBOX_ONLY

#
macro
#define NKENTSEU_XBOX_ONLY(...)

Keeps its argument when the target is an Xbox, whatever the model, removes it otherwise.

NKENTSEU_NOT_XBOX

#
macro
#define NKENTSEU_NOT_XBOX(...)

Removes its argument when the target is an Xbox, whatever the model, keeps it otherwise.

NKENTSEU_NINTENDO_ONLY

#
macro
#define NKENTSEU_NINTENDO_ONLY(...)

Keeps its argument when the target is a Nintendo home console (NES to Switch), removes it otherwise.

NKENTSEU_NOT_NINTENDO

#
macro
#define NKENTSEU_NOT_NINTENDO(...)

Removes its argument when the target is a Nintendo home console (NES to Switch), keeps it otherwise.