aboutsummaryrefslogtreecommitdiff
path: root/devel/android-tools-fastboot/files/patch-fastboot_socket.h
blob: 6b0b4bf20dd5e8aec0b255f9d94c443ad3448657 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- fastboot/socket.h.orig	2016-02-20 02:39:51 UTC
+++ fastboot/socket.h
@@ -41,7 +41,10 @@
 
 #include <android-base/macros.h>
 #include <cutils/sockets.h>
-#include <gtest/gtest_prod.h>
+
+// Copied from <gtest/gtest_prod.h>
+#define FRIEND_TEST(test_case_name, test_name)\
+friend class test_case_name##_##test_name##_Test
 
 // Socket interface to be implemented for each platform.
 class Socket {