man ALLEGRO_VERSION () - 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.