__STDC__ and non-conforming ANSI C compilers

Geoff Rimmer geoff at warwick.UUCP
Mon Jan 23 18:32:47 AEST 1989


How about putting the following lines in /usr/include/local/__STDC__fix.h

#ifdef __STDC__
#if __STDC__==0
#undef __STDC__
#endif
#endif

and then at the top of every source file, put

#include <local/__STDC__fix.h>

I know it's a bit messy, but it would work wouldn't it?

Geoff

	------------------------------------------------------------
	Geoff Rimmer, Computer Science, Warwick University, England.
			geoff at uk.ac.warwick.emerald

	"I assure you Brad's presence here comes as a complete surprise"
	DIDN'T YOU READ THE SCRIPT?

		- Rocky Horror Picture Show, 1975
	------------------------------------------------------------



More information about the Comp.std.c mailing list