From c9f19571da2673a934f6f97aeea92c5414c28925 Mon Sep 17 00:00:00 2001 From: Thomas Hellstrom Date: Tue, 16 Jun 2009 17:52:05 +0200 Subject: [PATCH] mesa driconf: Add macro to specify an option with a quoted default value. The default values true and false will expand to "1" and "0" when gcc -std=c99, causing bool option defaults to generate runtime failures. One solution is to specify bool option defaults quoted as "true" and "false". Add a macro to assist this. Signed-off-by: Thomas Hellstrom --- src/mesa/drivers/dri/common/xmlpool.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mesa/drivers/dri/common/xmlpool.h b/src/mesa/drivers/dri/common/xmlpool.h index 7fbc6e800d0..587517ea10a 100644 --- a/src/mesa/drivers/dri/common/xmlpool.h +++ b/src/mesa/drivers/dri/common/xmlpool.h @@ -60,6 +60,10 @@ #define DRI_CONF_OPT_BEGIN(name,type,def) \ "