attribute decl in version decl

Ellery Newcomer ellery-newcomer at utulsa.edu
Mon Sep 19 13:05:45 PDT 2011


On 09/18/2011 11:04 PM, Daniel Murphy wrote:
> "Ellery Newcomer" <ellery-newcomer at utulsa.edu> wrote in message 
> news:j557r6$vgt$1 at digitalmars.com...
>> Just came across some old D code that does this:
>>
>> version(linux){
>> extern(C):
>> }
>>
> 
> Are the prototypes extern(Windows) when not on linux, by any chance?  That 
> is the only combination I've ever had to use, and is supported by 
> extern(System). 
> 
> 

yep. didn't know about System. Thanks.


More information about the Digitalmars-d-learn mailing list