- added some default definitions for constants that may miss in some headers.

- replaced __va_copy with va_copy per Chris's suggestion.
- replaced #include <malloc.h> with #include <stdlib.h> where possible.


SVN r1524 (trunk)
This commit is contained in:
Christoph Oelckers 2009-04-07 07:06:07 +00:00
commit a908834a11
22 changed files with 31 additions and 20 deletions

View file

@ -137,7 +137,7 @@ void STACK_ARGS DCanvas::DrawText (FFont *font, int normalcolor, int x, int y, c
more_p = va_arg (tags, va_list*);
va_end (tags);
#ifdef __GNUC__
__va_copy (tags, *more_p);
va_copy (tags, *more_p);
#else
tags = *more_p;
#endif