---
name: "SDL_VERSION"
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"
---

# SDL\_VERSION(3)

This is the version number macro for the current SDL version.

## NAME

SDL\_VERSION - This is the version number macro for the current SDL version.

## HEADER FILE

Defined in SDL3/SDL\_version.h

## SYNOPSIS

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

**#define SDL\_VERSION .BI** *SDL\_VERSIONNUM(SDL\_MAJOR\_VERSION,***SDL\_MINOR\_VERSION,***SDL\_MICRO\_VERSION)*

## AVAILABILITY

This macro is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_GetVersion**(3)](/SDL_GetVersion/3.md)
