Frustrated trying to be portable
Peter da Silva
peter at ficc.ferranti.com
Thu Feb 28 04:12:48 AEST 1991
> It isn't necessary. If the application requires library functions
> that are required for a hosted implementation but not for a
> freestanding implementation, then it couldn't survive being told
> that it is being compiled by a freestanding implementation anyway.
---------- complex_utility_routine.c
#ifdef HOSTED
compile a bunch of journalling code for debugging in
the hosted version
#else
compile a bunch of stubs
#endif
--
Peter da Silva. `-_-' peter at ferranti.com
+1 713 274 5180. 'U` "Have you hugged your wolf today?"
More information about the Comp.std.c
mailing list