aboutsummaryrefslogtreecommitdiff
path: root/features.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-06-22 09:00:11 +0000
committerRoland McGrath <roland@gnu.org>1995-06-22 09:00:11 +0000
commit487253ea1f81b8223334200ada86a3d3b7de6d9c (patch)
tree0befcdc81388e86f1e550635437ffa0385cf34dc /features.h
parentb1099b2fba10e78325715f65e23af286705bf86e (diff)
downloadglibc-487253ea1f81b8223334200ada86a3d3b7de6d9c.zip
glibc-487253ea1f81b8223334200ada86a3d3b7de6d9c.tar.gz
glibc-487253ea1f81b8223334200ada86a3d3b7de6d9c.tar.bz2
Tue Jun 20 02:18:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* Makerules (lib%.so: lib%_pic.a): Pass -soname switch giving the library's name including $(libprefix) and major version number. * locale/locale-ctype.c (allocate_arrays): Use xmalloc and bzero in place of xcalloc. * Makeconfig (prefix, exec_prefix, libprefix): Instead of `ifndef', use the $(origin) function to only set these if they are undefined, and not if they are defined to empty. * gnu-versions.h: New file. * features.h (__GNU_LIBRARY__): Increase value to 5.
Diffstat (limited to 'features.h')
-rw-r--r--features.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/features.h b/features.h
index 0778092..7801bb8 100644
--- a/features.h
+++ b/features.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1993, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -126,8 +126,14 @@ Cambridge, MA 02139, USA. */
#endif
+/* This macro indicates that the installed library is the GNU C Library.
+ Its value must be incremented whenever any existing library interface
+ changes such that callers must be recompiled with the new header files.
+ This value should always coincide with the major version number used for
+ the shared C library corresponding to this set of header files. */
+
#undef __GNU_LIBRARY__
-#define __GNU_LIBRARY__ 1
+#define __GNU_LIBRARY__ 5
#if !defined(__GNUC__) || __GNUC__ < 2