Module darkplaces: Change committed
knghtbrd at icculus.org
knghtbrd at icculus.org
Wed Dec 31 13:04:00 EST 2003
Commiter : knghtbrd
CVSROOT : /cvs/cvsroot/twilight
Module : darkplaces
Commit time: 2003-12-31 18:03:59 UTC
Log message:
More MacOS X stuff. The correct test for MacOS X in preprocessor seems to
be defined(__APPLE__) && defined(__MACH__). MacOS X has strl functions,
so don't bother compiling them. Also, the correct name and location of
libGL for X11 on a Mac is /usr/X11R6/lib/libGL.1.dylib. Compiles with one
warning caused by use of dlfcn.h (an emulation of the dynamic ELF object
loader which complains that you really should be using the Mach-O dylib
API instead.)
Compiled with gcc 3.1 (use gcc_select) on MacOS X 10.3 with X11 and the
Xcode Tools installed. Makefile changes were: null sound/cd, removal of
-lxf86dga from the GLX build, and replacing -ggdb in both places with
plain old -g (someone at Apple needs a LARTing for this...) SHOULD work
with 10.2 provided that you have developer tools, X11 with devel stuff,
and the dlfcn emulation package from fink. I can't promise meaningful
support for anything but Panther, sorry.
Modified files:
common.c vid_glx.c
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20031231.180359.knghtbrd.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20031231/f4deb973/attachment.diff>
More information about the twilight-commits
mailing list