Merge pull request #552 from stinos/mingw-alloca
py: Use <alloca.h> for alloca()
This commit is contained in:
commit
7a14022604
|
@ -1,12 +1,8 @@
|
|||
#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"
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
#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"
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
#include <malloc.h>
|
Loading…
Reference in New Issue