SDL_NET_VERSION_ATLEAST - Man Page

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

Synopsis

#include <SDL3_net/SDL_net.h>

#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))

Availability

This macro is available since SDL_net 3.0.0.

Info

SDL_net 3.2.0 SDL_net3 FUNCTIONS