Index: webrtc/examples/objc/AppRTCDemo/ios/main.m |
diff --git a/webrtc/base/openssl.h b/webrtc/examples/objc/AppRTCDemo/ios/main.m |
similarity index 62% |
copy from webrtc/base/openssl.h |
copy to webrtc/examples/objc/AppRTCDemo/ios/main.m |
index 2071619d5d519b7d5b0ad278fa47e37d4b4b10ac..00b83f7fd2f1cf5a7433cb388b4d39e589e4fb5e 100644 |
--- a/webrtc/base/openssl.h |
+++ b/webrtc/examples/objc/AppRTCDemo/ios/main.m |
@@ -8,13 +8,13 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
-#ifndef WEBRTC_BASE_OPENSSL_H_ |
-#define WEBRTC_BASE_OPENSSL_H_ |
+#import <UIKit/UIKit.h> |
-#include <openssl/ssl.h> |
+#import "ARDAppDelegate.h" |
-#if (OPENSSL_VERSION_NUMBER < 0x10000000L) |
-#error OpenSSL is older than 1.0.0, which is the minimum supported version. |
-#endif |
- |
-#endif // WEBRTC_BASE_OPENSSL_H_ |
+int main(int argc, char* argv[]) { |
+ @autoreleasepool { |
+ return UIApplicationMain( |
+ argc, argv, nil, NSStringFromClass([ARDAppDelegate class])); |
+ } |
+} |