1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2010-2019 Intel Corporation
9 * This header should contain any definition
10 * which is not supported natively or named differently in Windows.
21 /* cpu_set macros implementation */
22 #define RTE_CPU_AND(dst, src1, src2) CPU_AND(dst, src1, src2)
23 #define RTE_CPU_OR(dst, src1, src2) CPU_OR(dst, src1, src2)
24 #define RTE_CPU_FILL(set) CPU_FILL(set)
25 #define RTE_CPU_NOT(dst, src) CPU_NOT(dst, src)
27 /* This is an exception without "rte_" prefix, because Windows does have
28 * ssize_t, but it's defined in <windows.h> which we avoid to expose.
29 * If ssize_t is defined in user code, it necessarily has the same type.
31 typedef long long ssize_t;
37 #endif /* _RTE_OS_H_ */