summaryrefslogtreecommitdiff
path: root/builtin-help.c
diff options
context:
space:
mode:
authorLibravatar Brandon Casey <casey@nrlssc.navy.mil>2009-07-10 12:10:44 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-07-10 23:50:29 -0700
commit9398b85994ee7d602e29e0b82de01b9605ee535f (patch)
tree8c7df269555ea238372bf2f6f76c8810acce2c81 /builtin-help.c
parentunpack-trees.c: work around run-time array initialization flaw on IRIX 6.5 (diff)
downloadtgif-9398b85994ee7d602e29e0b82de01b9605ee535f.tar.xz
git-compat-util.h: adjust for SGI IRIX 6.5
Don't define _XOPEN_SOURCE Do define _SGI_SOURCE Defining _XOPEN_SOURCE prevents many of the common functions and macros from being defined. _Not_ setting _XOPEN_SOURCE, and instead setting _SGI_SOURCE, provides all of the XPG4, XPG5, BSD, POSIX functions and declarations, _BUT_ provides a horribly broken snprintf(). SGI does have a working snprintf(), but it is only provided when _NO_XOPEN5 evaluates to zero, and this only happens if _XOPEN_SOURCE is defined which, as mentioned above, prevents many other common functions and defines. The broken snprintf will be worked around with SNPRINTF_RETURNS_BOGUS in the Makefile in a later patch. Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-help.c')
0 files changed, 0 insertions, 0 deletions