when needed and c routines otherwise - HAVE_MASM is off always (in configure.in), only switch it on if you've got masm and you're on windows...
what broke; mainly typecasts. I've disabled -pedantic again though, as there are some bugs in svgalib and libc headers that prevent compilation with -pedantic. I also didn't bother to set explicit casts in linux/qgl_linux.c
bsd/Makefile. Thanks, butter.