Corrected _PDCLIB_CHAR_SIGNED comment.
Sweeping cleanups. Sorry for the massive commit; I got sidetracked once too often.
Reworked errno. Added values from Linux / Windows. Added error texts. Some errno values were missing (c&p error).
Modify various POSIX platform files so you can build on top of glibc for testing
PDCLIB-2 PDCLIB-8: Implement mbrtowc using mbrtoc32/mbrtoc16 depending upon definition of wchar_t
PDCLIB-1 PDCLIB-2 PDCLIB-9 PDCLIB-12: Add thread specific locale support; migrate existing codebase to utilise it
Add pthreads threading backend and move the POSIX port over to using it
Add an up to date POSIX port (works on Mac OS X). This is fully functional except for strerror. Warning cleanup is to come.
posix: First pass at updated config file for POSIX platforms
Enable building PDCLib with Watcom. This was surprisingly painless: their C99 mode has come a long way!
* platform/example is now a "stub" platform - it should compile anywhere, but be useful nowhere. * The old platform/example code has been moved to platform/posix - it should become a base implementation which works on any POSIX system * A platform/win32 is probably due. This will be special in that it won't depend upon the host OS' libc (instead depending directly upon kernel32)