mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Merge pull request #2423 from abarth/rm_boring_ssl_hack
Remove unneeded symbol from main_ios.mm
This commit is contained in:
commit
008964f268
@ -7,16 +7,6 @@
|
||||
|
||||
#include "sky/shell/platform/mac/platform_mac.h"
|
||||
|
||||
extern "C" {
|
||||
// TODO(csg): HACK! boringssl accesses this on Android using a weak symbol
|
||||
// instead of a global. Till the patch for that lands and propagates to Sky, we
|
||||
// specify the same here to get workable builds on iOS. This is a hack! Will
|
||||
// go away.
|
||||
unsigned long getauxval(unsigned long type) {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
int main(int argc, const char * argv[]) {
|
||||
return PlatformMacMain(argc, argv, ^(){
|
||||
return UIApplicationMain(argc, (char **)argv, nil,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user