Fix --disable-udev.
thread.h - Xbox needs this header for the prototype of Sleep
(Win32) Define SIZE_MAX if not defined already
MSVC 2003-equivalent function for SignalObjectAndWait
(VC/Raspberry) Blind coding - added shared context for VC EGL
context driver
Don't add extern "C" around thread wrappers