SDL Wiki
(This function is part of SDL_net, a separate library from SDL.)

SDL_NET_VERSION_ATLEAST

This macro will evaluate to true if compiled with SDL_net at least X.Y.Z.

Header File

Defined in <SDL3_net/SDL_net.h>

Syntax

#define SDL_NET_VERSION_ATLEAST(X, Y, Z) \
    ((SDL_NET_MAJOR_VERSION >= X) && \
     (SDL_NET_MAJOR_VERSION > X || SDL_NET_MINOR_VERSION >= Y) && \
     (SDL_NET_MAJOR_VERSION > X || SDL_NET_MINOR_VERSION > Y || SDL_NET_MICRO_VERSION >= Z))

CategoryAPI, CategoryAPIMacro, CategorySDLNet


[ 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.