From 535b5a59bd3e8f424b3a4a523db5845d115ce49a Mon Sep 17 00:00:00 2001 From: "izsh.f0f" Date: Fri, 5 Feb 2010 11:16:07 +0000 Subject: [PATCH] Change -std=c99 to -std=gnu99 to be able to compile libusb-0.1.* which uses u_int*_t and PATH_MAX --- client/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/Makefile b/client/Makefile index 48ddffd2..b7a529fc 100644 --- a/client/Makefile +++ b/client/Makefile @@ -5,7 +5,7 @@ VPATH = ../common LDLIBS = -L/opt/local/lib -L/usr/local/lib -lusb -lreadline -lpthread LDFLAGS = $(COMMON_FLAGS) -CFLAGS = -std=c99 -I. -I../include -I../common -I/opt/local/include -Wall -Wno-unused-function $(COMMON_FLAGS) -g3 +CFLAGS = -std=gnu99 -I. -I../include -I../common -I/opt/local/include -Wall -Wno-unused-function $(COMMON_FLAGS) -g3 WINLIBS = -lgdi32 -lsetupapi CXXFLAGS = $(shell pkg-config --cflags QtCore QtGui 2>/dev/null) -Wall -- 2.39.5