mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 04:02:25 +00:00
Use _alloca /only/ on MSC, not on mingw. Elsewhere it is alloca.
This commit is contained in:
parent
eeb168c026
commit
1d6c7889b1
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@
|
|||
#define _SIZE_T_DEFINED_ // For OpenBSD
|
||||
|
||||
void *memcpy(void *dest, const void *source, size_t size);
|
||||
#if defined _WIN32
|
||||
#if defined _MSC_VER
|
||||
#define alloca _alloca
|
||||
#endif
|
||||
void *alloca(size_t size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue