summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-11-16 07:41:03 +0000
committerAndreas Jaeger <aj@suse.de>2000-11-16 07:41:03 +0000
commit474704e49e7bfa72f731a857bf922340deac6b52 (patch)
treebcc53bd279a412e89ee4f7dd2198a0c3515216a1 /sysdeps
parent85857f932b10330e5c96bedf15e81bcfc0207737 (diff)
downloadglibc-474704e49e7bfa72f731a857bf922340deac6b52.tar.gz
glibc-474704e49e7bfa72f731a857bf922340deac6b52.tar.xz
glibc-474704e49e7bfa72f731a857bf922340deac6b52.zip
(_DL_PLATFORMS_COUNT): Define to 0 if it's not defined.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/dl-cache.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/generic/dl-cache.c b/sysdeps/generic/dl-cache.c
index 4ece370f27..ea4239aef5 100644
--- a/sysdeps/generic/dl-cache.c
+++ b/sysdeps/generic/dl-cache.c
@@ -34,6 +34,10 @@ extern void *_dl_sysdep_read_whole_file (const char *filename,
 
 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;