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 <drafnel@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
4cb18a49df
commit
b213019c00
2
Makefile
2
Makefile
@ -723,7 +723,7 @@ ifeq ($(uname_S),SunOS)
|
|||||||
endif
|
endif
|
||||||
INSTALL = /usr/ucb/install
|
INSTALL = /usr/ucb/install
|
||||||
TAR = gtar
|
TAR = gtar
|
||||||
BASIC_CFLAGS += -D__EXTENSIONS__
|
BASIC_CFLAGS += -D__EXTENSIONS__ -D__sun__
|
||||||
endif
|
endif
|
||||||
ifeq ($(uname_O),Cygwin)
|
ifeq ($(uname_O),Cygwin)
|
||||||
NO_D_TYPE_IN_DIRENT = YesPlease
|
NO_D_TYPE_IN_DIRENT = YesPlease
|
||||||
|
Loading…
Reference in New Issue
Block a user