Fix "Redeclaration with no linkage" on SmartOS
Use Solaris Threads on Solaris
Fix compilation on modern mingw32; includes dropping gettimeofday() which is in modern mingw32.

Also fixes missing s/SLPI/SYSTEM_LOGICAL_PROCESSOR_INFORMATION/ and a
missing variable rename in Windows-specific cacheline code. Fixes
mistaken use of MOWGLI_OS_WINDOWS instead of MOWGLI_OS_WIN.

Dropping gettimeofday() fixes type collision of “struct timezone” with
the compat type provided by mingw32.
Merge pull request #15 from enmand/master

Fixes for illumos/SmartOS
Merge pull request #16 from binki/master

mingw fixes: drop gettimeofday(), fix bitrot caused by untested commits in cacheline.c, fix MOWGLI_OS_WIN mispelled as MOWGLI_OS_WINDOWS
Update README (closes #17)

Fix URLs, change feature request instructions, update feature list
linebuf: Use single-byte delimiters

This allows the delimiter string "\r\n" to be used to detect \r, \n, \r\n,
\n\n\n, or any combination of the characters in the delimiter string. This
is different from the previous system which required the whole delimiter
string to match.

The endl member of linebuf indicates the line ending to use for outgoing
lines, and can have any length.
linebuf: Cache endl_len, and add function to set delimiters
Reformat source code to fit style guide
Add uncrustify ruleset
Fix aligning