From 91773ced4b737525a7d9a3c3d03369fdd0bac182 Mon Sep 17 00:00:00 2001 From: Connor Peet Date: Sat, 28 Jan 2023 16:02:08 -0800 Subject: [PATCH] cli: fix macos build --- cli/src/tunnels/nosleep_macos.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/tunnels/nosleep_macos.rs b/cli/src/tunnels/nosleep_macos.rs index 42909d59d61a3..b8e72accaa456 100644 --- a/cli/src/tunnels/nosleep_macos.rs +++ b/cli/src/tunnels/nosleep_macos.rs @@ -63,7 +63,7 @@ pub struct SleepInhibitor { impl SleepInhibitor { pub async fn new() -> io::Result { let mut assertions = Vec::with_capacity(NUM_ASSERTIONS); - let assertion_name = CFString::from_static_string(concatcp!(TUNNEL_ACTIVITY_NAME)); + let assertion_name = CFString::from_static_string(TUNNEL_ACTIVITY_NAME); for typ in ASSERTIONS { assertions.push(Assertion::make( &CFString::from_static_string(typ),