attribute decl in version decl

Daniel Murphy yebblies at nospamgmail.com
Sun Sep 18 21:04:00 PDT 2011


"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). 




More information about the Digitalmars-d-learn mailing list