Remove building errors in autotest

Review URL: https://webrtc-codereview.appspot.com/432004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1828 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
leozwang@webrtc.org 2012-03-02 17:02:51 +00:00
parent 26762e3e40
commit c868b99ff3
2 changed files with 1 additions and 15 deletions

View File

@ -206,17 +206,4 @@ namespace {
#define AutoTestSleep ::Sleep #define AutoTestSleep ::Sleep
#endif #endif
#ifdef WEBRTC_ANDROID
namespace {
void Sleep(unsigned long x) {
timespec t;
t.tv_sec = x/1000;
t.tv_nsec = (x-(x/1000)*1000)*1000000;
nanosleep(&t,NULL);
}
}
#define AutoTestSleep ::Sleep
#endif
#endif // WEBRTC_VIDEO_ENGINE_MAIN_TEST_AUTOTEST_INTERFACE_VIE_AUTOTEST_DEFINES_H_ #endif // WEBRTC_VIDEO_ENGINE_MAIN_TEST_AUTOTEST_INTERFACE_VIE_AUTOTEST_DEFINES_H_

View File

@ -87,9 +87,8 @@ bool GetVideoDevice(webrtc::ViEBase* ptrViEBase,
webrtc::ViECapture* ptrViECapture, webrtc::ViECapture* ptrViECapture,
char* captureDeviceName, char* captureDeviceUniqueId); char* captureDeviceName, char* captureDeviceUniqueId);
bool GetIPAddress(char* IP); bool GetIPAddress(char* IP);
#ifndef WEBRTC_ANDROID
bool ValidateIP(std::string iStr); bool ValidateIP(std::string iStr);
#endif
// The following are Print to stdout functions. // The following are Print to stdout functions.
void PrintCallInformation(char* IP, char* videoCaptureDeviceName, void PrintCallInformation(char* IP, char* videoCaptureDeviceName,
char* videoCaptureUniqueId, char* videoCaptureUniqueId,