]> khamidou — GitHub mirrors - electron.git/commitdiff
Fix linking error
authorCheng Zhao <zcbenz@gmail.com>
Mon, 28 Sep 2015 08:45:53 +0000 (16:45 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 14 Oct 2015 03:53:53 +0000 (11:53 +0800)
atom/common/crash_reporter/crash_reporter.cc

index 3658931ec188424a8fb2403f67ec4f64aa53dbb2..b87ce54acd5161432a63425b4447c4dbb0a41e38 100644 (file)
@@ -64,7 +64,6 @@ CrashReporter::GetUploadedReports(const std::string& path) {
   return result;
 }
 
-#if defined(OS_MACOSX) && defined(MAS_BUILD)
 void CrashReporter::InitBreakpad(const std::string& product_name,
                                  const std::string& version,
                                  const std::string& company_name,
@@ -76,6 +75,7 @@ void CrashReporter::InitBreakpad(const std::string& product_name,
 void CrashReporter::SetUploadParameters() {
 }
 
+#if defined(OS_MACOSX) && defined(MAS_BUILD)
 // static
 CrashReporter* CrashReporter::GetInstance() {
   static CrashReporter crash_reporter;