Avoid redefinition of typedef ‘bool’

The compiler on MacOSX wouldn't build Subsurface when bool
was redefined.

Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Henrik Brautaset Aronsen 2013-05-06 08:07:03 +02:00 committed by Dirk Hohndel
parent e960a5b558
commit 484c10ba5a
4 changed files with 6 additions and 19 deletions

View file

@ -3,12 +3,6 @@
#ifdef __cplusplus
extern "C" {
#else
#if __STDC_VERSION__ >= 199901L
#include <stdbool.h>
#else
typedef int bool;
#endif
#endif
#define SCALE_SCREEN 1.0