summaryrefslogtreecommitdiff
path: root/features/mkc_imp.f_reallocarr.mk
blob: e47ba4e5975486e11e10c78584f3559620f015cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright (c) 2021 by Aleksey Cheusov
#
# See LICENSE file in the distribution.

.ifndef _MKC_IMP_F_REALLOCARR_MK
_MKC_IMP_F_REALLOCARR_MK := 1

MKC_CHECK_FUNCS3   +=	reallocarr:stdlib.h
MKC_CHECK_FUNCLIBS +=	reallocarr

.include <mkc.conf.mk>

.if ${HAVE_FUNCLIB.reallocarr:U} != 1
MKC_SRCS +=	${FEATURESDIR}/reallocarr/mkc_reallocarr.c
.endif

CPPFLAGS +=	-D_MKC_CHECK_REALLOCARR

.endif #_MKC_IMP_F_REALLOCARR_MK