MAKE_VERSION man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

MAKE_VERSION(3)			Allegro manual		       MAKE_VERSION(3)

NAME
       MAKE_VERSION - Create a 32 bit integer from the Allegro version

SYNOPSIS
       #include <allegro.h>

       Macro MAKE_VERSION(a, b, c)

DESCRIPTION
       This  macro  can	 be  used to check if some Allegro version is (binary)
       compatible with the current version. It is safe to use > and < to check
       if  one	version	 is  more  recent  than	 another.  The third number is
       ignored if the second number is	even,  so  MAKE_VERSION(4,  2,	0)  is
       equivalent  to  MAKE_VERSION(4,	2, 1).	This is because of our version
       numbering policy since 4.0.0: the second	 number	 is  even  for	stable
       releases,  which	 must  be  ABI-compatible with earlier versions of the
       same series.  This macro	 is  mainly  useful  for  addon	 packages  and
       libraries.  See the `ABI compatibility information' section of the man‐
       ual for more detailed information. Example:

	  /* Check if the current version is compatible with Allegro 4.2.0 */
	  #if (MAKE_VERSION(4, 2, 0) <= MAKE_VERSION(ALLEGRO_VERSION, \
			     ALLEGRO_SUB_VERSION, ALLEGRO_WIP_VERSION))
	     /* Allegro 4.2.0 compatibility */
	  #else
	     /* Work-around */
	  #endif

SEE ALSO
       ALLEGRO_VERSION(3), ALLEGRO_SUB_VERSION(3), ALLEGRO_WIP_VERSION(3)

Allegro				 version 4.4.2		       MAKE_VERSION(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net