Cfg attribute to detect either Posix or Win32

I need to detect if the target is either Posix or Win32 based. I've googled and didn't find anything! Any idea?

Looked here: Conditional compilation - The Rust Reference

Considering Win32 is only used by Windows, #[cfg(target_os = "windows")] should be enough.