X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=codegen%2Fcodegen-stubhead.hxx;h=64d3d5b5d9c2932a31117772ec3d5b2297e8dfd5;hp=5c330f3878aaa690d6d3cce239424203fe44e68f;hb=1f0aa49ffeccf4ac8562a82a941b17c63503c4cc;hpb=4ddaa0f5ce6d2f7b6a2419dad9ff83879e04df2c diff --git a/codegen/codegen-stubhead.hxx b/codegen/codegen-stubhead.hxx index 5c330f3..64d3d5b 100644 --- a/codegen/codegen-stubhead.hxx +++ b/codegen/codegen-stubhead.hxx @@ -6,24 +6,15 @@ #include #include #include -#include -#include #include #include #include #ifdef __GCCXML__ -#define LIBT2N_SET_DEFAULTGROUP(x) namespace { typedef __attribute((gccxml("libt2n-"#x))) int libt2n_default_group; } -/* not allowed anymore -#define LIBT2N_SET_DEFAULTGROUP(x) #define LIBT2N_EXPORT __attribute((gccxml("libt2n-"#x))) -*/ #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 #endif