Skip to content

Commit

Permalink
Remove unneeded symbol from main_ios.mm
Browse files Browse the repository at this point in the history
We don't appear to need this hack anymore.
  • Loading branch information
abarth committed Feb 25, 2016
1 parent 320d8e0 commit cf4c62c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions sky/shell/platform/ios/main_ios.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit cf4c62c

Please sign in to comment.