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 - Missing BORLANDC check for alloca in SDL_stdinc.h
Summary: Missing BORLANDC check for alloca in SDL_stdinc.h
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: 1.2.12
Hardware: x86 Windows (All)
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-20 21:34 UTC by Stephen Hurd
Modified: 2007-12-28 00:08 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!