[AD] ALLEGRO_LINUX clarification

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Hi, there's a slight confusion over the intended meaning of
ALLEGRO_LINUX, whether it means we are building on a Linux system,
or whether Linux _console_ support was enabled during configure.
The implementation has always favoured the latter, so I'm proposing to
clarify it as such in the documentation.

Any objections? (make it quick)

Peter


--- docs/src/allegro._tx	(revision 9384)
+++ docs/src/allegro._tx	(local)
@@ -14473,6 +14473,10 @@ various attributes of the current platfo
    Defined if you are building for a relevant system. Often several of these 
    will apply, eg. DOS+Watcom, or Windows+GCC+MinGW.
 
+   Note that ALLEGRO_LINUX is a misnomer. It will only be defined if
+   <i>Linux console</i> support is enabled. It is not a reliable way to check
+   if the program is being built on a Linux system.
+
 <b>ALLEGRO_AMD64</b><br>
 <b>ALLEGRO_I386</b><br>
 <b>ALLEGRO_BIG_ENDIAN</b><br>





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/