aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake/msvc/stdbool.h
blob: ffd3fc8a3c774d9127dd8b676787ec2c9bdac3e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//
// Copyright 2015 Ettus Research LLC
// Copyright 2018 Ettus Research, a National Instruments Company
//
// SPDX-License-Identifier: GPL-3.0-or-later
//

#ifndef INCLUDED_MSC_STDBOOL_H
#define INCLUDED_MSC_STDBOOL_H

#ifndef _MSC_VER
#error "Use this header only with Microsoft Visual C++ compilers!"
#endif

#ifndef __cplusplus

#define bool int
#define true 1
#define false 0

#endif

#endif /* INCLUDED_MSC_STDBOOL_H */