From fdc716c251cd31421ee73e444de93a274a3315f4 Mon Sep 17 00:00:00 2001 From: Jens Thiele Date: Mon, 20 Nov 2006 15:19:43 +0000 Subject: [PATCH] --- codegen/codegen-stubhead.hxx | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) create mode 100644 codegen/codegen-stubhead.hxx diff --git a/codegen/codegen-stubhead.hxx b/codegen/codegen-stubhead.hxx new file mode 100644 index 0000000..465ef15 --- /dev/null +++ b/codegen/codegen-stubhead.hxx @@ -0,0 +1,23 @@ +#ifndef MINIMALISTIC_STUB_HXX +#define MINIMALISTIC_STUB_HXX + +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +#ifdef __GCCXML__ +#define LIBT2N_SET_DEFAULTGROUP(x) namespace { typedef __attribute((gccxml(#x))) int libt2n_default; } +#define LIBT2N_EXPORT __attribute((gccxml("libt2n-default"))) +#define LIBT2N_EXPORT_GROUP(group) __attribute((gccxml("libt2n-"#group))) +#else +#define LIBT2N_SET_DEFAULTGROUP(x) +#define LIBT2N_EXPORT +#define LIBT2N_EXPORT_GROUP(group) +#endif -- 1.7.1