Created port.h, plus some code removal and refactoring.

For ```make check```, it tries compiling each header individually.

Thanks,
Dima

http://dimakorolev.com/ | http://www.linkedin.com/in/dimakorolev |
dmitry.korolev@gmail.com | +1 (312) 593 2783


On Sat, Dec 13, 2014 at 2:05 AM, Alex Zolotarev <notifications@github.com>
wrote:
>
> In net/http.h
> <https://github.com/KnowSheet/Bricks/pull/16#discussion-diff-21787859>:
>
> > @@ -1,5 +1,7 @@
> > -#if defined(__linux) || defined(__APPLE__)
> > -#include "http/posix.h"
> > +#include "../port.h"
> > +
> > +#if defined(BRICKS_POSIX) || defined(BRICKS_APPLE)
>
> What is wrong with including this (and http/http.h) files from other
> platform? Why these guards here?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/KnowSheet/Bricks/pull/16/files#r21787859>.
>