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 support standard C with extensions so they
define it to 0 or something--seems silly to me but there's not much we
can do about this.


What is the autoconf-recommended, portable way to handle this?

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to