X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=examples%2Fminimalistic-stub.hxx;h=f6e7de1d8d9ee9d521ac40ddda71c50fd53a0a18;hp=78889894729472da767f784c1ccb92a972c2eb11;hb=bfe60617b40a78d0656accf878f231ce7bfa358b;hpb=db49c2f908cd5a007e21d27ba614eb4018f92efc diff --git a/examples/minimalistic-stub.hxx b/examples/minimalistic-stub.hxx index 7888989..f6e7de1 100644 --- a/examples/minimalistic-stub.hxx +++ b/examples/minimalistic-stub.hxx @@ -21,10 +21,12 @@ #include #include -#ifdef _GCCXML__ -#define LIBT2P_EXPORT __attribute((gccxml("libt2n"))) +#ifdef __GCCXML__ +#define LIBT2N_EXPORT __attribute((gccxml("libt2n"))) +#define LIBT2N_EXPORT_GROUP(group) __attribute((gccxml("libt2n-"#group))) #else -#define LIBT2P_EXPORT +#define LIBT2N_EXPORT +#define LIBT2N_EXPORT_GROUP(group) #endif class cmd_group_example : public libt2n::command