From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MQI1q-0006fv-9s for qemu-devel@nongnu.org; Mon, 13 Jul 2009 05:40:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MQI1k-0006dz-R2 for qemu-devel@nongnu.org; Mon, 13 Jul 2009 05:40:57 -0400 Received: from [199.232.76.173] (port=36373 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQI1k-0006du-D5 for qemu-devel@nongnu.org; Mon, 13 Jul 2009 05:40:52 -0400 Received: from mx2.redhat.com ([66.187.237.31]:36086) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MQI1j-0004XE-Vf for qemu-devel@nongnu.org; Mon, 13 Jul 2009 05:40:52 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n6D9epxW006375 for ; Mon, 13 Jul 2009 05:40:51 -0400 From: Gerd Hoffmann Date: Mon, 13 Jul 2009 11:40:43 +0200 Message-Id: <1247478048-17257-3-git-send-email-kraxel@redhat.com> In-Reply-To: <1247478048-17257-1-git-send-email-kraxel@redhat.com> References: <1247478048-17257-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 2/7] add strify() macros. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Signed-off-by: Gerd Hoffmann --- osdep.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/osdep.h b/osdep.h index ffbf221..ac660c8 100644 --- a/osdep.h +++ b/osdep.h @@ -27,6 +27,11 @@ #define unlikely(x) __builtin_expect(!!(x), 0) #endif +#ifndef strify +#define strify_i(a) # a +#define strify(a) strify_i(a) +#endif + #ifndef offsetof #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *) 0)->MEMBER) #endif -- 1.6.2.5