Define _REENTRANT if appropriate.
This commit is contained in:
parent
eec814ba1c
commit
da85408cb0
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: featuretest.h,v 1.1 1998/02/02 15:53:56 kleink Exp $ */
|
||||
/* $NetBSD: featuretest.h,v 1.2 1998/10/24 16:30:56 kleink Exp $ */
|
||||
|
||||
/*
|
||||
* Written by Klaus Klein <kleink@NetBSD.ORG>, February 2, 1998.
|
||||
|
@ -12,4 +12,9 @@
|
|||
#define _POSIX_C_SOURCE 1L
|
||||
#endif
|
||||
|
||||
#if ((_POSIX_C_SOURCE - 0) >= 199506L || (_XOPEN_SOURCE - 0) >= 500) && \
|
||||
!defined(_REENTRANT)
|
||||
#define _REENTRANT
|
||||
#endif
|
||||
|
||||
#endif /* !defined(_SYS_FEATURETEST_H_) */
|
||||
|
|
Loading…
Reference in New Issue