mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-09 13:41:59 -04:00
fix warning: implicit declaration of function 'alloca'
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: Ib79f7cfa9a059a90687683a77e53a3b8f74712fe
This commit is contained in:
parent
defb4587de
commit
62f788ce03
1 changed files with 1 additions and 3 deletions
|
@ -41,9 +41,7 @@
|
|||
# include <malloc.h>
|
||||
# define z_alloca(nmemb) _alloca(nmemb)
|
||||
#else
|
||||
# if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199000L /* C89 */
|
||||
# include <alloca.h>
|
||||
# endif
|
||||
# include <alloca.h>
|
||||
# define z_alloca(nmemb) alloca(nmemb)
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue