summaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorBenny Siegert <bsiegert@herc.mirbsd.org>2013-12-31 14:36:45 +0000
committerJunio C Hamano <gitster@pobox.com>2014-01-02 10:19:14 -0800
commit92164af978c8cb180c8d9ba9487e0ddddb15fb77 (patch)
tree46a84ffd2210da6ec7cce0d3e835a8a09721ae99 /git-compat-util.h
parentd2446dfd7f3b3f8948142cfb07a0270e2497d93f (diff)
downloadgit-92164af978c8cb180c8d9ba9487e0ddddb15fb77.tar.gz
Add MirBSD support to the build system.bs/mirbsd
Add an entry into the table of supported OSes. Do not set _XOPEN_SOURCE (contrary to OpenBSD) because that disables the u_short and u_long typedefs, which are used unconditionally in various other header files. Signed-off-by: Benny Siegert <bsiegert@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-compat-util.h')
-rw-r--r--git-compat-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index 7776f126d3..9e202dde78 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -75,7 +75,7 @@
# endif
#elif !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__USLC__) && \
!defined(_M_UNIX) && !defined(__sgi) && !defined(__DragonFly__) && \
- !defined(__TANDEM) && !defined(__QNX__)
+ !defined(__TANDEM) && !defined(__QNX__) && !defined(__MirBSD__)
#define _XOPEN_SOURCE 600 /* glibc2 and AIX 5.3L need 500, OpenBSD needs 600 for S_ISLNK() */
#define _XOPEN_SOURCE_EXTENDED 1 /* AIX 5.3L needs this */
#endif