SDL_PLATFORM_3DS(3)

πŸ’– SDL_PLATFORM_3DS πŸ’–

okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual, and today's main character is SDL_PLATFORM_3DS(3) ✨


🌸 NAME 🌸

SDL_PLATFORM_3DS β€” a preprocessor macro that is only defined if you're compiling for Nintendo 3DS. that's it. that's the whole vibe. πŸŽ€


✨ SYNOPSIS ✨

#include <SDL3/SDL_platform_defines.h>

#define SDL_PLATFORM_3DS 1

like. it's giving "you either have it or you don't" πŸ’…


πŸ¦‹ AVAILABILITY πŸ¦‹

this macro has been available since SDL 3.2.0. so if you're on anything older, no 3DS macro for you, sorry babe 😭


lowkey important: this is a compile-time vibe check, not a runtime one. if you're not building for the 3DS, this macro simply does not exist. don't come for her. πŸ‘‘

Simple Directmedia Layer Β· SDL 3.4.18 Β· SDL_PLATFORM_3DS(3) β€” mwah, hope this helped, go slay your 3DS build bestie πŸ’–πŸ¦‹πŸŽ€βœ¨

πŸ“¦ where this page comes from