diff --git a/examples/testlibpq2.rs b/examples/testlibpq2.rs index ffc9934..64f9a74 100644 --- a/examples/testlibpq2.rs +++ b/examples/testlibpq2.rs @@ -28,6 +28,7 @@ * */ +#[cfg(unix)] fn main() -> Result<(), Box> { /* * If the user supplies a parameter on the command line, use it as the @@ -90,3 +91,7 @@ fn main() -> Result<(), Box> { Ok(()) } + +#[cfg(not(unix))] +fn main() { +}