From b213019c00740289997f12e5f53b1baae588ac8a Mon Sep 17 00:00:00 2001 From: Brandon Casey Date: Fri, 5 Jun 2009 18:36:14 -0500 Subject: [PATCH] Makefile: define __sun__ on SunOS The SUNWspro compiler does not define __sun__ (like GCC does). A check of this macro was recently added to detect compilation on SunOS and to modify the handling of the NO_ICONV and _XOPEN_SOURCE feature macros. Signed-off-by: Brandon Casey Signed-off-by: Junio C Hamano --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d8f9c225f..4f838b2c0 100644 --- a/Makefile +++ b/Makefile @@ -723,7 +723,7 @@ ifeq ($(uname_S),SunOS) endif INSTALL = /usr/ucb/install TAR = gtar - BASIC_CFLAGS += -D__EXTENSIONS__ + BASIC_CFLAGS += -D__EXTENSIONS__ -D__sun__ endif ifeq ($(uname_O),Cygwin) NO_D_TYPE_IN_DIRENT = YesPlease -- 2.26.2