Mail Archives: djgpp/1997/06/06/14:02:58
On Fri, 6 Jun 1997, Conrad Wei-Li Song wrote:
> One small problem: apparantly most of the standard headers such
> as <malloc.h> simply #include's <stdlib.h>. Problems can occur
> if functions with the same name are redefined.
Yes but look in stdlib.h, and all of the headers in fact, and you will
see a #ifndef that protects from multiple inclusions. This is perfectly
safe. BTW one would want to emulate this style in one's own header
files.
Art S. Kagel, kagel AT bloomberg DOT com
- Raw text -