Commit 0a44f220 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

libcflat: move stringification trick to a common place



Rename "str" to "xxstr" to avoid a conflict with lib/x86/processor.h.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 488b6ffb
......@@ -22,6 +22,9 @@
#include <stdarg.h>
#define xstr(s) xxstr(s)
#define xxstr(s) #s
typedef unsigned char u8;
typedef signed char s8;
typedef unsigned short u16;
......
......@@ -9,9 +9,6 @@
#define MAIN_TSS_INDEX (FREE_GDT_INDEX + 0)
#define VM86_TSS_INDEX (FREE_GDT_INDEX + 1)
#define xstr(s) str(s)
#define str(s) #s
static volatile int test_count;
static volatile unsigned int test_divider;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment