We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 505

Summary: Missing BORLANDC check for alloca in SDL_stdinc.h
Product: SDL Reporter: Stephen Hurd <shurd>
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 1.2.12   
Hardware: x86   
OS: Windows (All)   

Description Stephen Hurd 2007-10-20 21:34:57 UTC
Borland compilers have the alloca() prototype in malloc.h as with WATCOM.  After the WATCOM check on line 177, just add the following lines:

# elif defined(__BORLANDC__)
#  include <malloc.h>
Comment 1 Sam Lantinga 2007-12-28 00:08:04 UTC
This is fixed in revision 3458, thanks!