X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=codegen%2Fcodegen-stubhead.hxx;h=fa9947fec305b6e4003c928d0052fe3b725fd00c;hp=d21130f95abb532f6de7d77cb1a18ab84f8eafba;hb=bf62f8b70a94fd7238af116f7b16cea0a8852d27;hpb=9d3993e555cad0553a9e5743cfb7e1586139481c diff --git a/codegen/codegen-stubhead.hxx b/codegen/codegen-stubhead.hxx index d21130f..fa9947f 100644 --- a/codegen/codegen-stubhead.hxx +++ b/codegen/codegen-stubhead.hxx @@ -6,15 +6,16 @@ #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_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