From 8ac205685d2cf2323bb5b72fd4ad37c2dd95b5ef Mon Sep 17 00:00:00 2001 From: Jonas Schwabe Date: Wed, 29 Jun 2016 19:23:00 +0200 Subject: [PATCH] Add ifdef for property, which should only be availabe on Linux --- atom/browser/browser.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/atom/browser/browser.h b/atom/browser/browser.h index 739a9f5eb03..c9155d94b4e 100644 --- a/atom/browser/browser.h +++ b/atom/browser/browser.h @@ -223,7 +223,9 @@ class Browser : public WindowListObserver { std::string version_override_; std::string name_override_; +#if defined(OS_LINUX) int current_badge_count_ = 0; +#endif #if defined(OS_WIN) base::string16 app_user_model_id_;