stdbool.h
Go to the documentation of this file.
1/*
2 The ert code is based on C99, and in particular makes extensive use
3 of the C99 feature stdbool.h. When including the ert headers in a
4 VisualStudio C++ project this creates problems because the
5 VisualStudio C compiler is not C99 conforming, and the compiler will
6 complain it can not find the stdbool.h header.
7
8 The symbols defined in the stdbool header are actually correctly(?)
9 defined by the VisualStudio compiler already, so this header file
10 does not define any bool related symbols!
11
12 To actually use this file you should copy it manually into the ert
13 include directory as used by VisualStudio.
14*/
15
16#ifndef ERT_STDBOOL_H
17#define ERT_STDBOOL_H
18
19#ifndef __cplusplus
20typedef int bool;
21#define true 1
22#define false 0
23#endif
24
25
26#endif
int bool
Definition: stdbool.h:20