---
name: "SDL_VERSION_ATLEAST"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_VERSION_ATLEAST"
---

# SDL\_VERSION\_ATLEAST(3)

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

## NAME

SDL\_VERSION\_ATLEAST - This macro will evaluate to true if compiled with SDL at least X.Y.Z.

## HEADER FILE

Defined in SDL3/SDL\_version.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**#define SDL\_VERSION\_ATLEAST(X, Y, Z) .BI** *(SDL\_VERSION***\>=***SDL\_VERSIONNUM(X,***Y,***Z))*

## AVAILABILITY

This macro is available since SDL 3.2.0.
