This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __declspec(selectany)
- From: "Dimitrie O. Paun" <dimi at intelliware dot ca>
- To: Ove Kaaven <ovek at arcticnet dot no>
- Cc: dpaun at rogers dot com, Dan Kegel <dank at kegel dot com>, Fergus Henderson <fjh at cs dot mu dot OZ dot AU>, <boaz at hishome dot net>, Wine Devel <wine-devel at winehq dot com>, GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Wed, 6 Aug 2003 10:07:37 -0400 (EDT)
- Subject: Re: __declspec(selectany)
On 6 Aug 2003, Ove Kaaven wrote:
> You can try
>
> #define __declspec_selectany __attribute__((weak))
> #define __declspec_whatever __attribute__((whatever))
> #define __declspec(x) __declspec_##x
Brilliant, thank you!
--
Dimi.