"Paul D. Smith" <[EMAIL PROTECTED]> writes:
> I have a bunch of macros in GNU make that try to determine whether the
> compiler groks ANSI C, like this:
>
> #if defined (__cplusplus) || (defined (__STDC__) && __STDC__)
>
> But, that doesn't work on Windows because the Windows compilers do this:
On Wed, 13 Jul 2005, Paul D. Smith wrote:
I have a bunch of macros in GNU make that try to determine whether the
compiler groks ANSI C, like this:
#if defined (__cplusplus) || (defined (__STDC__) && __STDC__)
But, that doesn't work on Windows because the Windows compilers do this:
#define
I have a bunch of macros in GNU make that try to determine whether the
compiler groks ANSI C, like this:
#if defined (__cplusplus) || (defined (__STDC__) && __STDC__)
But, that doesn't work on Windows because the Windows compilers do this:
#define __STDC__ 0
I guess the feeling is they su