alexzzp / googletest

Automatically exported from code.google.com/p/googletest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Patching adding support for FreeBSD 10

GoogleCodeExporter opened this issue · comments

Please find attached a patch adding build support for FreeBSD 10. It basically 
turns on Linux build with clone disabled, with the addition of a few headers 
POSIX requires and Linux is sloppy about.

Original issue reported on code.google.com by niall.do...@maidsafe.net on 29 May 2014 at 4:14

Attachments:

Defining GTEST_OS_LINUX for FreeBSD doesn't sound right.
It's more work, but can we define a GTEST_OS_FBSD ?

Original comment by billydon...@google.com on 29 May 2014 at 4:25

There is a GTEST_OS_OPENBSD in HEAD, but it isn't patched in everywhere 
GTEST_OS_LINUX is used and that wasn't enough for my use case because lots of 
functionality remains disabled.

Someone ought to go through and fix up a GTEST_OS_POSIX really, but it won't be 
me.

Original comment by niall.do...@maidsafe.net on 29 May 2014 at 4:41

Ed Maste has put a potential patch for FreeBSD support at 
https://codereview.appspot.com/178420043/

Original comment by drysd...@google.com on 1 Dec 2014 at 9:50