Re: #if usage, coding standard question
- From: Noah Levitt <nlevitt columbia edu>
- To: Dan Kalowsky <dank deadmime org>
- Cc: gtk-devel-list gnome org
- Subject: Re: #if usage, coding standard question
- Date: Wed, 20 Aug 2003 16:21:21 -0400
Hi,
On Wed, Aug 20, 2003 at 14:36:50 -0400, Dan Kalowsky wrote:
> In our path to get things working, we've been forced to run the Glib
> configure on Linux only the proceed afterwards in editing the resulting
> Makefiles. This has shown one area where I'm slightly confused as to how
That's a shame, it'd be nice if ./configure worked for you.
You should work on that. :)
>
> #ifdef HAVE_SYS_SELECT_H_
> #if HAVE_SYS_SELECT_H_
They both work. I don't think either is considered "preferred".
>
> The latter will make it much easier to use the config.h file as an
> editable configuration file. But what I haven't found is a mention as to
#ifdef is very common. It's not that hard to comment out the
lines or s/define/undef/.
Noah
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]