Complete.Org: Mailing Lists: Archives: freeciv-dev: July 1999:
[Freeciv-Dev] #include <x11/*>

[Freeciv-Dev] #include <x11/*>

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv developers mailing list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] #include <x11/*>
From: Andy Black <ablack@xxxxxxxxxxxxxx>
Date: Thu, 15 Jul 1999 13:28:15 -0600


If anyone adds a #include for an x-windows library to the common code
(/server, /common, /ai, /client, /client/include) please considar if it is
needed.  If it is, please use the folowing format so that the mac code
doesn't break.  The file I noticed the problem in is
client/include/mapctrl_g.h.  If this file is not needed, please remove it
or make the requested change

#if !(defined(GENERATING68K) || defined(GENERATINGPPC)) /* x-windows */
#include <X11/Intrinsic.h>
#endif /* end x-windows */

This pratice would make things easier for me with the mac port.

Andy Black

[Prev in Thread] Current Thread [Next in Thread]