Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5fc4592

Browse files
author
ibuclaw
committedFeb 14, 2013
Add alloca declaration for GNU
1 parent cc806e5 commit 5fc4592

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/core/stdc/stdlib.d

+4
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@ version( DigitalMars )
122122
// See malloc comment about @trusted.
123123
void* alloca(size_t size); // non-standard
124124
}
125+
else version( GNU )
126+
{
127+
void* alloca(size_t size); // compiler intrinsic
128+
}
125129

126130
version (Win64)
127131
{

0 commit comments

Comments
 (0)
Please sign in to comment.