# HG changeset patch # User mru # Date 1264613933 0 # Node ID d6e37d18a0ff308889e5e7767c81b8ee59c8a0e3 # Parent a1680eca3e5278b7265d285c32c581a5ccd90ebe Add macro AV_JOIN() for joining two tokens into one diff -r a1680eca3e52 -r d6e37d18a0ff avutil.h --- a/avutil.h Fri Jan 22 03:25:25 2010 +0000 +++ b/avutil.h Wed Jan 27 17:38:53 2010 +0000 @@ -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)