Index: testing/platform_test.h |
diff --git a/testing/platform_test.h b/testing/platform_test.h |
index 24980fbe0c160a72712b080df243fdf442c77a15..f993864d6133023dabf4704171511a9fb4a0a973 100644 |
--- a/testing/platform_test.h |
+++ b/testing/platform_test.h |
@@ -8,9 +8,7 @@ |
#include <gtest/gtest.h> |
#if defined(GTEST_OS_MAC) |
-#ifndef __OBJC__ |
-typedef void* id; |
-#endif |
+#include <objc/objc.h> |
// The purpose of this class us to provide a hook for platform-specific |
// operations across unit tests. For example, on the Mac, it creates and |