From f0667db7c9dc5160ce7b3188544766ac6ee63618 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 10 Jul 2009 21:24:37 -0400 Subject: Compile as C99. --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index e7680839..07adba53 100644 --- a/src/Makefile +++ b/src/Makefile @@ -22,7 +22,7 @@ LUA_OBJS = lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o \ all: textadept .c.o: - gcc $(GTKFLAGS) $(INCLUDEDIRS) $(CXXFLAGS) -c $< -o $@ + gcc -std=c99 $(GTKFLAGS) $(INCLUDEDIRS) $(CXXFLAGS) -c $< -o $@ $(LUA_OBJS): lua/src/*.c gcc $(INCLUDEDIRS) -DLUA_USE_LINUX -c lua/src/*.c gcocoadialog.o: gcocoadialog/gcocoadialog.c -- cgit v1.2.3