diff options
Diffstat (limited to 'third_party/g7221/common/config.h')
-rw-r--r-- | third_party/g7221/common/config.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/third_party/g7221/common/config.h b/third_party/g7221/common/config.h new file mode 100644 index 00000000..925a1dae --- /dev/null +++ b/third_party/g7221/common/config.h @@ -0,0 +1,24 @@ +#ifndef __LIBG7221_CONFIG_H__ +#define __LIBG7221_CONFIG_H__ + +#include <pj/config.h> + +/** + * Expand basic operation functions as inline. + * + * Default: 1 (yes) + */ +#ifndef PJMEDIA_LIBG7221_FUNCS_INLINED +# define PJMEDIA_LIBG7221_FUNCS_INLINED 1 +#endif + +/* Declare/define a function that may be expanded as inline. */ +#if PJMEDIA_LIBG7221_FUNCS_INLINED +# define LIBG7221_DECL(type) PJ_INLINE(type) +# define LIBG7221_DEF(type) PJ_INLINE(type) +#else +# define LIBG7221_DECL(type) PJ_DECL(type) +# define LIBG7221_DEF(type) PJ_DEF(type) +#endif + +#endif /* __LIBG7221_CONFIG_H__ */ |