diff options
author | Caleb Xu <calebcenter@live.com> | 2021-07-30 09:29:07 -0400 |
---|---|---|
committer | Caleb Xu <calebcenter@live.com> | 2021-07-30 09:29:07 -0400 |
commit | 69fd49bcedfc7257b87682d9a79a63602531b1b4 (patch) | |
tree | f14c7e6509e67200fc36de5cf5e7452c2e807cb7 | |
parent | config.mk: doc ALLOCA_LIMIT, add CC=cc, and set PREFIX=/usr (diff) | |
download | libkeccak-69fd49bcedfc7257b87682d9a79a63602531b1b4.tar.gz libkeccak-69fd49bcedfc7257b87682d9a79a63602531b1b4.tar.bz2 libkeccak-69fd49bcedfc7257b87682d9a79a63602531b1b4.tar.xz |
common.h: macOS needs alloca.h too
-rw-r--r-- | common.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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> |