X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=examples%2Fminimalistic-stub.hxx;h=7516a31243bfd94d8c43ff3d791f14d3f139b4fc;hp=f6e7de1d8d9ee9d521ac40ddda71c50fd53a0a18;hb=ec979c575be157f2c9b1b6ca3be1fb816ad671d9;hpb=bfe60617b40a78d0656accf878f231ce7bfa358b diff --git a/examples/minimalistic-stub.hxx b/examples/minimalistic-stub.hxx index f6e7de1..7516a31 100644 --- a/examples/minimalistic-stub.hxx +++ b/examples/minimalistic-stub.hxx @@ -22,9 +22,11 @@ #include #ifdef __GCCXML__ -#define LIBT2N_EXPORT __attribute((gccxml("libt2n"))) +#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