Skip to content

Commit 1a2fe13

Browse files
committed
feat: add proxy header for cpu_set_t
1 parent 7eaaa4e commit 1a2fe13

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

libc/hdr/types/cpu_set_t.h

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
//===-- Proxy for cpu_set_t -----------------------------------------------===//
2+
//
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6+
//
7+
//===----------------------------------------------------------------------===//
8+
9+
#ifndef LLVM_LIBC_HDR_TYPES_CPU_SET_T_H
10+
#define LLVM_LIBC_HDR_TYPES_CPU_SET_T_H
11+
12+
#ifdef LIBC_FULL_BUILD
13+
14+
#include "include/llvm-libc-types/cpu_set_t.h"
15+
16+
#else // Overlay mode
17+
18+
#include <sched.h>
19+
20+
#endif // LLVM_LIBC_FULL_BUILD
21+
22+
#endif // LLVM_LIBC_HDR_TYPES_CPU_SET_T_H

0 commit comments

Comments
 (0)