aboutsummaryrefslogtreecommitdiff
path: root/stand/libsa/zfs/blake3_impl_hack.c
blob: 789807714e2cc3a5657be3793ed2a502f1ee567f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Copyright 2022, Netflix, Inc
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

/*
 * Hack for aarch64...  Not sure why isspace isn't defined, but it sure doesn't
 * belong here.
 */
#ifndef isspace
static __inline int isspace(int c)
{
    return c == ' ' || (c >= 0x9 && c <= 0xd);
}
#endif

#include "blake3_impl.c"