mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-18 06:58:54 +00:00
common/cmd_test: Avoid macro expansion
cmd_test.c adds "true" and "false" as new commands. We need to avoid macro expansion for U_BOOT_CMD. Signed-off-by: York Sun <yorksun@freescale.com>
This commit is contained in:
parent
3cb5ca75a1
commit
a6142706f5
1 changed files with 9 additions and 0 deletions
|
@ -21,6 +21,15 @@
|
|||
* MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
/*
|
||||
* Define _STDBOOL_H here to avoid macro expansion of true and false.
|
||||
* If the future code requires macro true or false, remove this define
|
||||
* and undef true and false before U_BOOT_CMD. This define and comment
|
||||
* shall be removed if change to U_BOOT_CMD is made to take string
|
||||
* instead of stringifying it.
|
||||
*/
|
||||
#define _STDBOOL_H
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue