---
name: "SDL_VERSIONNUM_MINOR"
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_VERSIONNUM_MINOR"
---

# SDL\_VERSIONNUM\_MINOR(3)

This macro extracts the minor version from a version number

## NAME

SDL\_VERSIONNUM\_MINOR - This macro extracts the minor version from a version number

## HEADER FILE

Defined in SDL3/SDL\_version.h

## SYNOPSIS

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

**#define SDL\_VERSIONNUM\_MINOR(version) (((version) / 1000) % 1000)**

## DESCRIPTION

1002003 becomes 2.

## AVAILABILITY

This macro is available since SDL 3.2.0.
