minwin
Bill Baxter
dnewsgroup at billbaxter.com
Tue Nov 28 21:59:10 PST 2006
Brad Roberts wrote:
>> version (Windows) {
>> const int BROKEN_THIS = 1;
>> const int BROKEN_THAT = 1;
>> ...
>> }
>>
>> version (BROKEN_THIS) {
>> // workaround code
>> }
>
> Try:
>
> version (Windows) {
> version = BROKEN_THIS;
> version = BROKEN_THAT;
> }
>
> version (BROKEN_THIS) {
> // work around code
> }
Doh, ok. Missed that. Cool.
What about the check for specific version of lib?
--bb
More information about the Digitalmars-d-announce
mailing list