Andrew Walbran | bc342d4 | 2019-02-05 16:56:02 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2019 The Hafnium Authors. |
| 3 | * |
Andrew Walbran | e959ec1 | 2020-06-17 15:01:09 +0100 | [diff] [blame^] | 4 | * 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 Walbran | bc342d4 | 2019-02-05 16:56:02 +0000 | [diff] [blame] | 7 | */ |
| 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 | */ |