Fix https-client compilation on Windows.

ssize_t is not defined. But using ssize_t for s in this context makes no
sense, since fread returns size_t.
Guard against EVENT_NOWIN32 being set during testing.

On windows all tests will fail if EVENT_NOWIN32 is set, since then there
will be no backend available.

Question is if we should simply disable the environment variable check on
Windows, since there's only one backend available anyway?
Check for OSX when checking for clang.
Check does arch have the epoll_create and __NR_epoll_wait syscalls.

Some architectures (like AArch64) do not have deprecated syscalls.

Signed-off-by: Marcin Juszkiewicz <mjuszkiewicz@redhat.com>
Merge remote-tracking branch 'origin/patches-2.0'
Merge remote-tracking branch 'joakimsoderberg/win32_fixes'
Added a Travis-CI configuration file.

Initial stab at a first Travis config file.
Tweaked callbacks to prevent race condition (https://github.com/libevent/libevent/issues/104)
Tweaked callbacks to prevent race condition (https://github.com/libevent/libevent/issues/104)
bufferevent_pair: don't call downcast(NULL)
Merge remote-tracking branch 'origin/patches-2.0'
Added -Qunused-arguments for clang on macosx

The CLang provided through Xcode on Mac OSX emits warnings for
all unused include paths making the compilation extremely verbose.
Add cmake-related files to .gitignore
Merge pull request #108 from trondn/cmake-build-fix

CMake build-related fixes
BUGFIX: Fix compilation on systems with EPOLLRDHUP undefined.

Since epolltable-internal.h uses this define, it must be defined before that is included.
Rename event_extras to event_extra

The library event_extras is named event_extra when building with
GNU autotools
Stop checking for inet_aton; we don't use it.

We had cmake and autoconf tests for the inet_aton function... but we
never actually use it any more.

(The autoconf tests still use the callability of inet_aton to decide
whether we need to link against -lresolv)

Reported by Harlan Stenn.
Merge pull request #97 from JoakimSoderberg/openwrt_fixes

BUGFIX: Fix compilation on systems with EPOLLRDHUP undefined.
Do not offer EV_FEATURE_EARLY_CLOSE if we have no EPOLLRDHUP
Add option to build shared library