[aquaria] Compiling aquaria in x32
tdb at tdb.fi
Wed Jun 9 00:54:12 EDT 2010
No, please do not include system-specific headers unless absolutely
necessary. PATH_MAX is defined by SUSv3 (a.k.a. POSIX.1-2001) to be
found from <limits.h>. It's very likely to have been standardised even
earlier, but I couldn't find any other relevant publications with a few
minutes of googling.
If you want to be really correct, don't use PATH_MAX at all, but instead
use pathconf("/path/to/directory", _PC_PATH_MAX), which can take into
account possible dynamic (dependent on filesystem or other things)
On 09.06.2010 03:54, Pontos wrote:
> Try running cmake with "cmake -DCMAKE_C_FLAGS=-O3", or edit the line in
> the CMakeLists.txt where the "-pipe -g" flags are set and add -O3 in there.
> Also, consider using #include <linux/limits.h> instead of #include
> <limits.h> as Jordi mentioned before.
> On 6/8/2010 5:16 PM, Alejandro Aguilera wrote:
>>> The game works without problems, I played it for a bit on a old save.
>> After playing it a bit more I think it's slower loading stuff (loading
>> game, and levels), but in game play it's the same. In 30min of game
>> nothing strange happened.
> aquaria mailing list
> aquaria at icculus.org
More information about the aquaria