blob: f1eeb86567278fce4e303e05657a5a001924c4aa [file] [log] [blame]
Andrew Walbranbc342d42019-02-05 16:56:02 +00001/*
2 * Copyright 2019 The Hafnium Authors.
3 *
Andrew Walbrane959ec12020-06-17 15:01:09 +01004 * Use of this source code is governed by a BSD-style
5 * license that can be found in the LICENSE file or at
6 * https://opensource.org/licenses/BSD-3-Clause.
Andrew Walbranbc342d42019-02-05 16:56:02 +00007 */
8
9#pragma once
10
11/*
12 * Empty file to make Android Clang stdatomic.h happy. It includes this internal
13 * glibc header which we don't have, but doesn't actually need it.
14 * TODO: Investigate why Android have replaced the upstream Clang version of
15 * stdatomic.h with one that appears to be from FreeBSD, possibly via Bionic, in
16 * their prebuilt version of Clang. If we can just use the upstream Clang we can
17 * probably remove this workaround.
18 */