cmake/wgl: comment out header/library searches

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
include: import c99_compat.h from mesa

MSVC is lacking a few c99 keywords of which, inline and
restricted are required for waffle.

TODO: Check with Jose/Chad about license implications/relicensing.

Cc: José Fonseca <jfonseca@vmware.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
msvc: comment out pthreads code

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
wgl: expand DEFINE_CONTAINER_CAST_FUNC macro

MSVC does not play nice with it, neither with container_of.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
wgl: a ton of fixes

- headers
    string vs strings

- c99 compat function
    snprintf
    strcasecmp

- exported symbols
    empty WAFFLEAPI and use module definition file for exports

- forcelink against opengl32.lib
- disable tests for now
- fix a couple of return values

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
win: add the exported symbol file

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>