aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Xu <calebcenter@live.com>2021-07-30 09:29:07 -0400
committerCaleb Xu <calebcenter@live.com>2021-07-30 09:29:07 -0400
commit69fd49bcedfc7257b87682d9a79a63602531b1b4 (patch)
treef14c7e6509e67200fc36de5cf5e7452c2e807cb7
parentconfig.mk: doc ALLOCA_LIMIT, add CC=cc, and set PREFIX=/usr (diff)
downloadlibkeccak-69fd49bcedfc7257b87682d9a79a63602531b1b4.tar.gz
libkeccak-69fd49bcedfc7257b87682d9a79a63602531b1b4.tar.bz2
libkeccak-69fd49bcedfc7257b87682d9a79a63602531b1b4.tar.xz
common.h: macOS needs alloca.h too
Diffstat (limited to '')
-rw-r--r--common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.h b/common.h
index 4953da2..18b207c 100644
--- a/common.h
+++ b/common.h
@@ -9,7 +9,7 @@
#include <sys/stat.h>
#if ALLOCA_LIMIT > 0
-# if defined(__GLIBC__) || defined(__sun) || defined(__CYGWIN__)
+# if defined(__GLIBC__) || defined(__sun) || defined(__CYGWIN__) || defined(__APPLE__)
# include <alloca.h>
# elif defined(_WIN32)
# include <malloc.h>