solaris and irix are no longer pertinent, they will remain
only until I can be sure that the code was merged
correctly, i.e. for reference purposes only.
gives the impression that these files are os-specific when
they're not.
sys_linux.c -> main.c
q_shlinux.c -> q_sh.c
qgl_linux.c -> qgl.c
snd_linux.c -> snd.c
cd_linux.c -> cd.c
rw_linux.h -> rw.h
glw_linux.h -> glw.h
in_linux.c -> in.c (although this isn't referred to at
all in any makefiles anywhere)
- Edited other files to reflect name changes
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
for quakeforge a long time ago that allows sound playback on
machines that can't mmap /dev/dsp, like PowerPC machines.
The original patch was archived at:
http://www.geocrawler.com/mail/msg.php3?msg_id=4207733&list=856
The patch went in mostly smoothly, once I found where iD
kept their sound code. Linux only at the moment, I haven't
bothered to look at snd_*.c in any of the other OS
directories.
It works for me, in that it doesn't interfere with mmapping
on my i386 machine, but I have no PPC machines to test that
it actually does what it's supposed to, so YMMV.