From: Thomas Hellstrom Date: Tue, 16 Jun 2009 15:52:05 +0000 (+0200) Subject: mesa driconf: Add macro to specify an option with a quoted default value. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c9f19571da2673a934f6f97aeea92c5414c28925;p=profile%2Fivi%2Fmesa.git 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 --- diff --git a/src/mesa/drivers/dri/common/xmlpool.h b/src/mesa/drivers/dri/common/xmlpool.h index 7fbc6e8..587517e 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) \ "