From 87fec35d8d64a138adae485796fb00b0b365934b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Wed, 27 Jan 2010 17:38:53 +0000 Subject: [PATCH] Add macro AV_JOIN() for joining two tokens into one Originally committed as revision 21482 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/avutil.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavutil/avutil.h b/libavutil/avutil.h index a3cc93fa2a..01067e750e 100644 --- a/libavutil/avutil.h +++ b/libavutil/avutil.h @@ -29,6 +29,10 @@ #define AV_STRINGIFY(s) AV_TOSTRING(s) #define AV_TOSTRING(s) #s + +#define AV_GLUE(a, b) a ## b +#define AV_JOIN(a, b) AV_GLUE(a, b) + #define AV_PRAGMA(s) _Pragma(#s) #define AV_VERSION_INT(a, b, c) (a<<16 | b<<8 | c)