mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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
1 changed files with 6 additions and 2 deletions
|
@ -3,9 +3,13 @@
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#else
|
||||||
|
#if __STDC_VERSION__ >= 199901L
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
#else
|
||||||
|
typedef int bool;
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
struct dive;
|
struct dive;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue