fix common libraries
This commit is contained in:
parent
1795f7afcc
commit
70bc652f19
|
|
@ -3,11 +3,7 @@
|
||||||
.include <bsd.own.mk>
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
COMMON_DIR:=${.PARSEDIR}
|
COMMON_DIR:=${.PARSEDIR}
|
||||||
.if defined(__MINIX)
|
|
||||||
COMMON_CODEDIRS=atomic gen inet md net stdlib string
|
|
||||||
.else
|
|
||||||
COMMON_CODEDIRS=atomic gen gmon inet md net stdlib string sys
|
COMMON_CODEDIRS=atomic gen gmon inet md net stdlib string sys
|
||||||
.endif
|
|
||||||
COMMON_CODEDIRS+=hash/sha1 hash/sha2 hash/rmd160 hash/murmurhash
|
COMMON_CODEDIRS+=hash/sha1 hash/sha2 hash/rmd160 hash/murmurhash
|
||||||
|
|
||||||
.if defined(COMMON_MACHINE_ARCH) && !empty(COMMON_MACHINE_ARCH) && \
|
.if defined(COMMON_MACHINE_ARCH) && !empty(COMMON_MACHINE_ARCH) && \
|
||||||
|
|
|
||||||
|
|
@ -655,7 +655,7 @@ static void
|
||||||
_prop_dictionary_iterator_reset(void *v)
|
_prop_dictionary_iterator_reset(void *v)
|
||||||
{
|
{
|
||||||
struct _prop_dictionary_iterator *pdi = v;
|
struct _prop_dictionary_iterator *pdi = v;
|
||||||
#if defined(__minix) && defined(_REENTRANT)
|
#if defined(__minix) && defined(_REENTRANT) || defined(_KERNEL)
|
||||||
prop_dictionary_t pd _PROP_ARG_UNUSED = pdi->pdi_base.pi_obj;
|
prop_dictionary_t pd _PROP_ARG_UNUSED = pdi->pdi_base.pi_obj;
|
||||||
#endif /* defined(__minix) && defined(_REENTRANT) */
|
#endif /* defined(__minix) && defined(_REENTRANT) */
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user