OSDN Git Service

mesa driconf: Add macro to specify an option with a quoted default value.
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 16 Jun 2009 15:52:05 +0000 (17:52 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 17 Jun 2009 01:07:00 +0000 (03:07 +0200)
commitc9f19571da2673a934f6f97aeea92c5414c28925
treec9178b062603418ab8d91de900d78076ccca33e0
parentedbec6b112468cf8fa5546aaecb2832c91352127
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 <thellstrom@vmware.com>
src/mesa/drivers/dri/common/xmlpool.h