Add ifdef for property, which should only be availabe on Linux
authorJonas Schwabe <jonas@jnugh.de>
Wed, 29 Jun 2016 17:23:00 +0000 (19:23 +0200)
committerJonas Schwabe <jonas@jnugh.de>
Wed, 29 Jun 2016 18:22:17 +0000 (20:22 +0200)
atom/browser/browser.h

index 739a9f5..c9155d9 100644 (file)
@@ -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_;