aboutsummaryrefslogtreecommitdiff
path: root/features.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-09-18 09:00:07 +0000
committerRoland McGrath <roland@gnu.org>1995-09-18 09:00:07 +0000
commitaa9109070f2919ab519de474e00274c9fff5dcff (patch)
tree3c10d1d048a1a5d65ebd8c56f0448109038b39c8 /features.h
parente537c55ea926d27e2f625b30e5520e9baea88c46 (diff)
downloadglibc-aa9109070f2919ab519de474e00274c9fff5dcff.tar
glibc-aa9109070f2919ab519de474e00274c9fff5dcff.tar.gz
glibc-aa9109070f2919ab519de474e00274c9fff5dcff.tar.bz2
glibc-aa9109070f2919ab519de474e00274c9fff5dcff.zip
Mon Sep 18 01:58:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* Makefile (subdirs): Add sysvipc. * stdlib/srand48_r.c (srand48_r): Use UL suffix for huge constant. * stdlib/drand48-iter.c (__drand48_iterate): Likewise. * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Call __file_set_size instead of __file_truncate. * features.h (__USE_REENTRANT): New macro.
Diffstat (limited to 'features.h')
-rw-r--r--features.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/features.h b/features.h
index 7801bb8c20..1249bb50b3 100644
--- a/features.h
+++ b/features.h
@@ -45,6 +45,7 @@ Cambridge, MA 02139, USA. */
__USE_SVID Define SVID things.
__USE_MISC Define things common to BSD and System V Unix.
__USE_GNU Define GNU extensions.
+ __USE_REENTRANT Define reentrant/thread-safe *_r functions.
__FAVOR_BSD Favor 4.3BSD things in cases of conflict.
The macro `__GNU_LIBRARY__' is defined by this file unconditionally.
@@ -64,6 +65,7 @@ Cambridge, MA 02139, USA. */
#undef __USE_SVID
#undef __USE_MISC
#undef __USE_GNU
+#undef __USE_REENTRANT
#undef __FAVOR_BSD
@@ -125,6 +127,10 @@ Cambridge, MA 02139, USA. */
#define __USE_GNU 1
#endif
+#if defined (__USE_GNU) || defined (__USE_MISC)
+#define __USE_REENTRANT 1
+#endif
+
/* This macro indicates that the installed library is the GNU C Library.
Its value must be incremented whenever any existing library interface