MSVC is c89
In case someone wants to compile this with an outdated C compiler... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
92a5a5c35b
commit
8efd63b233
@ -3,9 +3,13 @@
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#else
|
||||
#if __STDC_VERSION__ >= 199901L
|
||||
#include <stdbool.h>
|
||||
#else
|
||||
typedef int bool;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
struct dive;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user