Skip to content

Commit

Permalink
Add our own alloca.h
Browse files Browse the repository at this point in the history
  • Loading branch information
fuhsnn committed Dec 30, 2024
1 parent 2683592 commit 2032095
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions include/alloca.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#ifndef __ALLOCA_H
#define __ALLOCA_H

#include <stddef.h>

extern void *alloca (size_t);

#define alloca(sz) __builtin_alloca(sz)

#endif

0 comments on commit 2032095

Please sign in to comment.