X-Git-Url: http://developer.intra2net.com/git/?a=blobdiff_plain;f=codegen%2Fcodegen-stubhead.hxx;h=fa9947fec305b6e4003c928d0052fe3b725fd00c;hb=22c93e2cd435ba875778fedef9b11181dd6383d1;hp=a05540eebd73e8fc5b80b394babf70df95a6bd7c;hpb=e035276bf0ac5abea21a0aafc6d05e7746e902d1;p=libt2n diff --git a/codegen/codegen-stubhead.hxx b/codegen/codegen-stubhead.hxx index a05540e..fa9947f 100644 --- a/codegen/codegen-stubhead.hxx +++ b/codegen/codegen-stubhead.hxx @@ -6,14 +6,16 @@ #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