@linux_only macros?

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?

@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 Likes

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

@static