From a1ffde619ca3a48d7a4a88e17b5fc4328f0f3c71 Mon Sep 17 00:00:00 2001 From: icculus Date: Mon, 28 Nov 2005 09:50:55 +0000 Subject: Must explicitly define MACOS_X here or lcc won't build on the Mac. git-svn-id: svn://svn.icculus.org/quake3/trunk@383 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/tools/lcc/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'code/tools') diff --git a/code/tools/lcc/Makefile b/code/tools/lcc/Makefile index 31b7664..03e152c 100644 --- a/code/tools/lcc/Makefile +++ b/code/tools/lcc/Makefile @@ -26,6 +26,11 @@ ifeq ($(USE_CCACHE),1) CC := ccache $(CC) endif +# Need MACOS_X defined or this won't build. +ifeq ($(PLATFORM),darwin) + LCC_CFLAGS += -DMACOS_X +endif + ifeq ($(PLATFORM),SunOS) INSTALL=ginstall else -- cgit v1.2.3