aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-07-30 18:29:35 +0200
committerGitHub <noreply@github.com>2021-07-30 18:29:35 +0200
commit286fa6f5c5f173c9ab44f725e8456f8b45f6d406 (patch)
treecef3a223ebd7f4762a9c61a27e25af57c3dbd569 /common.h
parentFix clang warnings (diff)
parentcommon.h: macOS needs alloca.h too (diff)
downloadlibkeccak-286fa6f5c5f173c9ab44f725e8456f8b45f6d406.tar.gz
libkeccak-286fa6f5c5f173c9ab44f725e8456f8b45f6d406.tar.bz2
libkeccak-286fa6f5c5f173c9ab44f725e8456f8b45f6d406.tar.xz
Merge pull request #14 from alebcay/macos-alloca
Include alloca.h on macOS
Diffstat (limited to 'common.h')
-rw-r--r--common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.h b/common.h
index c573719..9d23b8e 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>