From 0176d1c8a849e33c99e6405b1c3b40d714e89a53 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 7 Aug 2007 14:21:10 +0000 Subject: [PATCH] Protect the G_DISABLE_CAST_CHECKS define When compiling with cast checks already disabled there's no need to redefine this symbol. --- clutter/pango/pangoclutter.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/clutter/pango/pangoclutter.h b/clutter/pango/pangoclutter.h index 4fc1b9292..44aee0744 100644 --- a/clutter/pango/pangoclutter.h +++ b/clutter/pango/pangoclutter.h @@ -24,7 +24,11 @@ #define PANGOCLUTTER_H__ #define PANGO_ENABLE_BACKEND + +/* we always want to disable cast checks */ +#ifndef G_DISABLE_CAST_CHECKS #define G_DISABLE_CAST_CHECKS +#endif #include #include