diff options
author | Mattias Andrée <maandree@kth.se> | 2021-07-30 18:29:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-30 18:29:35 +0200 |
commit | 286fa6f5c5f173c9ab44f725e8456f8b45f6d406 (patch) | |
tree | cef3a223ebd7f4762a9c61a27e25af57c3dbd569 /common.h | |
parent | Fix clang warnings (diff) | |
parent | common.h: macOS needs alloca.h too (diff) | |
download | libkeccak-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.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> |