Skip to content

Commit

Permalink
Stephen Hurd fixed bug #505
Browse files Browse the repository at this point in the history
Borland compilers have the alloca() prototype in malloc.h as with WATCOM.
  • Loading branch information
slouken committed Dec 28, 2007
1 parent e5b3573 commit fa4acb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/SDL_stdinc.h
Expand Up @@ -174,6 +174,8 @@ extern DECLSPEC void SDLCALL SDL_free(void *mem);
# define alloca _alloca
# elif defined(__WATCOMC__)
# include <malloc.h>
# elif defined(__BORLANDC__)
# include <malloc.h>
# elif defined(__DMC__)
# include <stdlib.h>
# elif defined(__AIX__)
Expand Down

0 comments on commit fa4acb0

Please sign in to comment.