Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
7a140226
Commit
7a140226
authored
May 03, 2014
by
Paul Sokolovsky
Browse files
Merge pull request #552 from stinos/mingw-alloca
py: Use <alloca.h> for alloca()
parents
d51dbeb1
98e2ee0e
Changes
3
Hide whitespace changes
Inline
Side-by-side
py/builtinimport.c
View file @
7a140226
#include
<stdint.h>
#include
<stdlib.h>
#include
<stdio.h>
#include
<string.h>
#include
<assert.h>
#ifdef __MINGW32__
// For alloca()
#include
<malloc.h>
#endif
#include
<alloca.h>
#include
"mpconfig.h"
#include
"nlr.h"
...
...
py/objfun.c
View file @
7a140226
#include
<stdbool.h>
#include
<stdlib.h>
#include
<string.h>
#include
<assert.h>
#ifdef __MINGW32__
// For alloca()
#include
<malloc.h>
#endif
#include
<alloca.h>
#include
"mpconfig.h"
#include
"nlr.h"
...
...
windows/alloca.h
0 → 100644
View file @
7a140226
#include
<malloc.h>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment