aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-mojo_shell_runner_init.cc
blob: ee3f62f2c8d9b5b45e4c622186f73f7fe34c77f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- mojo/shell/runner/init.cc.orig	2016-05-21 17:23:12 UTC
+++ mojo/shell/runner/init.cc
@@ -68,6 +68,8 @@ void WaitForDebuggerIfNecessary() {
 
 void CallLibraryEarlyInitialization(base::NativeLibrary app_library) {
   // Do whatever warming that the mojo application wants.
+
+#if !defined(OS_FREEBSD) 
   typedef void (*LibraryEarlyInitFunction)(const uint8_t*);
   LibraryEarlyInitFunction init_function =
       reinterpret_cast<LibraryEarlyInitFunction>(
@@ -79,6 +81,7 @@ void CallLibraryEarlyInitialization(base
     const uint8_t* icu_data = base::i18n::GetRawIcuMemory();
     init_function(icu_data);
   }
+#endif
 
   // TODO(erg): All chromium binaries load base. We might want to make a
   // general system for other people.