From db2b1334cd43506003e6c1c64c112996d6cbdc96 Mon Sep 17 00:00:00 2001 From: Thomas BERNARD Date: Tue, 13 Feb 2018 22:15:35 +0100 Subject: [PATCH] does not define __linux__ under OS X any more. --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 8e53f193..0aff1f40 100644 --- a/src/Makefile +++ b/src/Makefile @@ -138,7 +138,7 @@ endif endif # these are for everyone - COPT = -D_DARWIN_C_SOURCE -D__macosx__ -D__linux__ -W -Wall -Wdeclaration-after-statement -O$(OPTIM) -std=c99 -g $(LUACOPT) $(SDLCOPT) $(TTFCOPT) -I/usr/include + COPT = -D_DARWIN_C_SOURCE -D__macosx__ -W -Wall -Wdeclaration-after-statement -O$(OPTIM) -std=c99 -g $(LUACOPT) $(SDLCOPT) $(TTFCOPT) -I/usr/include ifdef MACOSX_LION LOPT = $(SDLLOPT) $(LUALOPT) -framework libpng14 -lz else