[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
Re: [XaraXtreme-dev] [patch] Have implemented a Linux port of GetMemoryStatus ("Function to find available RAM")
- From: Alex Bligh <alex@xxxxxxxxxxx>
- Date: Sun, 28 May 2006 22:22:50 +0100
- Subject: Re: [XaraXtreme-dev] [patch] Have implemented a Linux port of GetMemoryStatus ("Function to find available RAM")
Israel,
The include is necessary since the code is using stdio functions. Of
course, to be consistent with the changes you made, it should instead be
something like:
#if !defined(__WXMSW__) && defined(__WXGTK__)
# include <stdio.h>
#endif
__WXGTK_, __WXMAC_, and __WXMSW__ are mutually exclusive. __WXGTK__
is only defined if the others aren't, therefore the !defined(__WXMSW__)
is redundant. In any case, seems to me stdio is only needed by the GTK
code (i.e. yours), right?
Alex