[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] Fix rombios compile
# HG changeset patch # User John Levon <john.levon@xxxxxxx> # Date 1236822520 25200 # Node ID c59d87e8a9709eeea87b81bf5846a33ba3987d41 # Parent 5c365f6d394e67d0ea5b9a30bd02fa5f1a3c0dbd Fix rombios compile __STRING() is Linux-specific Signed-off-by: John Levon <john.levon@xxxxxxx> diff --git a/tools/firmware/rombios/32bit/pmm.c b/tools/firmware/rombios/32bit/pmm.c --- a/tools/firmware/rombios/32bit/pmm.c +++ b/tools/firmware/rombios/32bit/pmm.c @@ -71,10 +71,12 @@ #define DEBUG_PMM 0 +#define stringify(a) #a + #define ASSERT(_expr, _action) \ if (!(_expr)) { \ printf("ASSERTION FAIL: %s %s:%d %s()\n", \ - __STRING(_expr), __FILE__, __LINE__, __func__); \ + stringify(_expr), __FILE__, __LINE__, __func__); \ _action; \ } else _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |