Index: webrtc/sdk/objc/Framework/Classes/Common/helpers.h |
diff --git a/webrtc/sdk/objc/Framework/Classes/Common/helpers.h b/webrtc/sdk/objc/Framework/Classes/Common/helpers.h |
index fdcd9ccb569b68c583ab4ed8d9cc9feb06035da5..d9e1d7fa649d3dae95b72abd6407916cd39fda44 100644 |
--- a/webrtc/sdk/objc/Framework/Classes/Common/helpers.h |
+++ b/webrtc/sdk/objc/Framework/Classes/Common/helpers.h |
@@ -10,6 +10,8 @@ |
#ifndef WEBRTC_SDK_OBJC_FRAMEWORK_CLASSES_COMMON_HELPERS_H_ |
#define WEBRTC_SDK_OBJC_FRAMEWORK_CLASSES_COMMON_HELPERS_H_ |
+ |
+#if defined(WEBRTC_IOS) |
#include <string> |
@@ -31,7 +33,6 @@ |
// Example: <NSThread: 0x170066d80>{number = 1, name = main} |
std::string GetCurrentThreadDescription(); |
-#if defined(WEBRTC_IOS) |
// Returns the current name of the operating system. |
std::string GetSystemName(); |
@@ -45,7 +46,6 @@ |
// Returns the device type. |
// Examples: ”iPhone” and ”iPod touch”. |
std::string GetDeviceType(); |
-#endif // defined(WEBRTC_IOS) |
// Returns a more detailed device name. |
// Examples: "iPhone 5s (GSM)" and "iPhone 6 Plus". |
@@ -65,12 +65,12 @@ |
// Returns the number of processing cores available on the device. |
int GetProcessorCount(); |
-#if defined(WEBRTC_IOS) |
// Indicates whether Low Power Mode is enabled on the iOS device. |
bool GetLowPowerModeEnabled(); |
-#endif |
} // namespace ios |
} // namespace webrtc |
+#endif // defined(WEBRTC_IOS) |
+ |
#endif // WEBRTC_SDK_OBJC_FRAMEWORK_CLASSES_COMMON_HELPERS_H_ |