Author: ovyalov Date: Wed Oct 28 17:21:02 2015 New Revision: 251563 URL: http://llvm.org/viewvc/llvm-project?rev=251563&view=rev Log: Remove unused SUN_LEN macro for Android.
Modified: lldb/trunk/source/Host/posix/DomainSocket.cpp Modified: lldb/trunk/source/Host/posix/DomainSocket.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/posix/DomainSocket.cpp?rev=251563&r1=251562&r2=251563&view=diff ============================================================================== --- lldb/trunk/source/Host/posix/DomainSocket.cpp (original) +++ lldb/trunk/source/Host/posix/DomainSocket.cpp Wed Oct 28 17:21:02 2015 @@ -17,13 +17,6 @@ using namespace lldb; using namespace lldb_private; -#ifdef __ANDROID__ -// Android does not have SUN_LEN -#ifndef SUN_LEN -#define SUN_LEN(ptr) ((size_t) (((struct sockaddr_un *) 0)->sun_path) + strlen((ptr)->sun_path)) -#endif -#endif // #ifdef __ANDROID__ - namespace { const int kDomain = AF_UNIX; _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits