Scroll to navigation

SDL_NET_VERSION_ATLEAST(3) SDL_net3 FUNCTIONS SDL_NET_VERSION_ATLEAST(3)

NAME

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

SDL_net 3.2.0 SDL_net