Subject: Re: Compiling NetBSD with another compiler.
To: None <>
From: Aleksey Cheusov <>
List: tech-userlevel
Date: 10/13/2007 17:44:57
 >> #undef AF_INET
 >> #define AF_INET <any_random_value>

> Please read again what I said.
Your example with fgetc is not very convincing.

 >> > In short, there is *no* standard way to achieve this behaviour.
 >> Ok. There is no 100% way...but there is more
 >> pragmatical solution I think.

> There isn't even a more pragmantic solution if you don't want to break
> the application namespace.

It definitely exists. See my answer to Trevor Talbot.
Application's namespace is (in theory) broken for many years.

BTW, "bad things" about macros in C language are known to everyone ;)
But every system use them a lot.

Best regards, Aleksey Cheusov.