This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Why does sysdeps/generic/dl-cache.c check _DL_PLATFORMS_COUNT?


>>>>> Ulrich Drepper writes:

 > Andreas Jaeger <aj@suse.de> writes:
>> Uli, your decision which one should be applied - but I agree with HJ:
>> One should be applied asap,

 > Yet a different solution: in the file with the use add

 > #ifdef foo
 > # define foo 0
 > #endif

 > Can you send me such a patch?

Here it is - shall I apply it?

Andreas

2000-11-16  Andreas Jaeger  <aj@suse.de>

	* sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
	it's not defined.

============================================================
Index: sysdeps/generic/dl-cache.c
--- sysdeps/generic/dl-cache.c	2000/11/15 08:43:56	1.28
+++ sysdeps/generic/dl-cache.c	2000/11/16 07:14:52
@@ -34,6 +34,10 @@
 
 extern const char *_dl_platform;
 
+#ifndef _DL_PLATFORMS_COUNT
+# define _DL_PLATFORMS_COUNT 0
+#endif
+
 /* This is the starting address and the size of the mmap()ed file.  */
 static struct cache_file *cache;
 static struct cache_file_new *cache_new;

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]