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:
Dirk Hohndel 2013-04-24 16:52:18 -07:00
parent 92a5a5c35b
commit 8efd63b233

View file

@ -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;