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