diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-06-18 14:09:59 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-06-18 14:09:59 +0200 |
commit | 18bed2c174362f76ddedf68bb700e8b2c817fcb5 (patch) | |
tree | 463c4a495386c9ec1869f4434367bfcfc43ea884 /libbutl/sha256c.c | |
parent | 639ff12af754d024a562925a52406ace0d3c673b (diff) |
Complete NetBSD compatibility
Diffstat (limited to 'libbutl/sha256c.c')
-rw-r--r-- | libbutl/sha256c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbutl/sha256c.c b/libbutl/sha256c.c index c98dd10..348fb44 100644 --- a/libbutl/sha256c.c +++ b/libbutl/sha256c.c @@ -123,7 +123,7 @@ be64enc(void *pp, uint64_t u) p[6] = (u >> 8) & 0xff; p[7] = u & 0xff; } -#endif /* __FreeBSD__ */ +#endif /* __FreeBSD__ || __NetBSD__ */ /* The rest is the unmodified (except for a few explicit casts to make compilable in C++) latest implementation from FreeBSD sys/crypto/sha2/. */ |