зеркало из https://github.com/microsoft/git.git
Merge branch 'bs/mirbsd'
* bs/mirbsd: Add MirBSD support to the build system.
This commit is contained in:
Коммит
962fa6539c
|
@ -198,6 +198,13 @@ ifeq ($(uname_S),OpenBSD)
|
|||
BASIC_LDFLAGS += -L/usr/local/lib
|
||||
HAVE_PATHS_H = YesPlease
|
||||
endif
|
||||
ifeq ($(uname_S),MirBSD)
|
||||
NO_STRCASESTR = YesPlease
|
||||
NO_MEMMEM = YesPlease
|
||||
USE_ST_TIMESPEC = YesPlease
|
||||
NEEDS_LIBICONV = YesPlease
|
||||
HAVE_PATHS_H = YesPlease
|
||||
endif
|
||||
ifeq ($(uname_S),NetBSD)
|
||||
ifeq ($(shell expr "$(uname_R)" : '[01]\.'),2)
|
||||
NEEDS_LIBICONV = YesPlease
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче