Header structure for mixed Classic/ANSI

Previous thread: Re: rename, file system errors by Theodore Ts'o on Monday, November 11, 1991 - 3:12 pm. (1 message)

Next thread: Weekend hacking and other randomness... by Theodore Ts'o on Monday, November 11, 1991 - 5:08 pm. (2 messages)
To: <linux-activists@...>
Date: Monday, November 11, 1991 - 3:45 pm

Wouldn't it be easier to make two header trees:

/usr/include/ansi
/usr/include/classic

and either use the -I option to select which tree is used, or put
files like this:

#if __STDC__ == 1 /* not: not just ifdef; see comp.lang.c FAQ */
# include <ansi/foo.h>
#else
# include <classic/foo.h>
#endif

into /usr/include.

This would IMHO be more neat than your proposed solution.

Previous thread: Re: rename, file system errors by Theodore Ts'o on Monday, November 11, 1991 - 3:12 pm. (1 message)

Next thread: Weekend hacking and other randomness... by Theodore Ts'o on Monday, November 11, 1991 - 5:08 pm. (2 messages)