---
name: "ALLEGRO_VERSION"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ALLEGRO_VERSION/3alleg4"
---

# ALLEGRO\_VERSION(3alleg4)

Defined to the major version of Allegro.

## NAME

ALLEGRO\_VERSION - Defined to the major version of Allegro.

## SYNOPSIS

**#include \<allegro.h\>**

**#define ALLEGRO\_VERSION**

## DESCRIPTION

Defined to the major version of Allegro. From a version number like 4.1.16, this would be defined to the integer 4.
