__STDC__ and non-conforming ANSI C compilers
Peter da Silva
peter at ficc.uu.net
Fri Jan 20 08:51:12 AEST 1989
If you really want to survive __STDC__==0, then here's a workable solution...
(1) Use "#if __STDC__" throughout.
(2) AT the beginning of your program, put this:
#ifndef __STDC__
#define __STDC__ 0
#endif
This will mean you will always have __STDC__ defined as 0 or 1.
--
Peter da Silva, Xenix Support, Ferranti International Controls Corporation.
Work: uunet.uu.net!ficc!peter, peter at ficc.uu.net, +1 713 274 5180. `-_-'
Home: bigtex!texbell!sugar!peter, peter at sugar.uu.net. 'U`
Opinions may not represent the policies of FICC or the Xenix Support group.
More information about the Comp.std.c
mailing list