SDL Wiki
(This is the documentation for SDL3, which is the current stable version. SDL2 was the previous version!)

SDL_NOLONGLONG

Don't let SDL use "long long" C types.

Header File

Defined in <SDL3/SDL_stdinc.h>

Syntax

#define SDL_NOLONGLONG 1

Remarks

SDL will define this if it believes the compiler doesn't understand the "long long" syntax for C datatypes. This can happen on older compilers.

If your compiler doesn't support "long long" but SDL doesn't know it, it is safe to define this yourself to build against the SDL headers.

If this is defined, it will remove access to some C runtime support functions, like SDL_ulltoa and SDL_strtoll that refer to this datatype explicitly. The rest of SDL will still be available.

SDL's own source code cannot be built with a compiler that has this defined, for various technical reasons.


CategoryAPI, CategoryAPIMacro, CategoryStdinc


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.