eolib
0.6.1
A core C library for writing applications related to Endless Online
Loading...
Searching...
No Matches
eo_compat.h
Go to the documentation of this file.
1
#ifndef EOLIB_EO_COMPAT_H
2
#define EOLIB_EO_COMPAT_H
3
4
/* stdint.h is available on every compiler eolib targets except MSVC 2005/2008
5
* (_MSC_VER < 1600). For those, a vendored fallback is added to the include
6
* path by CMake (see include/eolib/compat/stdint.h). */
7
#include <
stdint.h
>
8
#include <stddef.h>
9
10
/* <stdbool.h> is a C99 header; provide bool/true/false ourselves for C89. */
11
#ifndef __bool_true_false_are_defined
12
typedef
int
bool
;
13
#define true 1
14
#define false 0
15
#define __bool_true_false_are_defined 1
16
#endif
17
18
#endif
bool
int bool
Definition
eo_compat.h:12
stdint.h
include
eolib
eo_compat.h
Generated by
1.16.1