@linux_only macros?

question

#1

I’m using (unintentionally, as i copied from someplace) an @linux_only macro.
I was thinking this is from BinDeps, but this seems not to be the case.
Where is it from, and what is the 0.6 safe and backward compatible variant?


#2

@linux_only was deprecated in 0.5. Use @static if is_linux() instead. (You can omit the @static if it is not important whether the if is evaluated at compile-time or runtime.)


#3

@static seems to be not available in 0.4. Is there a recommended construction that works (with Compat?) in all versions?


#4

@static