1
Description: fix GCC 4.7 build on 'other' platforms like GNU/kFreeBSD
2
Assume that all platforms in the 'other' category will have unistd.h;
3
as of GCC 4.7 they are going to have to include it.
4
Author: Steven Chamberlain <steven@pyro.eu.org>
6
--- protobuf-2.4.1.orig/gtest/include/gtest/internal/gtest-port.h 2011-04-30 18:22:13.000000000 +0100
7
+++ protobuf-2.4.1/gtest/include/gtest/internal/gtest-port.h 2012-06-11 14:18:19.000000000 +0100
12
+// Assume other platforms have unistd.h
13
+#include <unistd.h> // NOLINT
15
// <regex.h> may not be available on this platform. Use our own
16
// simple regex implementation instead.
17
#define GTEST_USES_SIMPLE_RE 1