diff options
author | Brandon Casey <drafnel@gmail.com> | 2009-06-05 18:36:14 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-06-06 13:21:49 -0700 |
commit | b213019c00740289997f12e5f53b1baae588ac8a (patch) | |
tree | e8af83f28bb6e5c0527d4a2d457dd9a2ae069394 /Makefile | |
parent | 4cb18a49dfd37f9ecabad603d845382863513378 (diff) | |
download | git-b213019c00740289997f12e5f53b1baae588ac8a.tar.gz |
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>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |