diff options
author | Roland McGrath <roland@gnu.org> | 2004-09-22 21:21:10 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2004-09-22 21:21:10 +0000 |
commit | b5707b44d25d7af61b0338c2a2206c036eaf7337 (patch) | |
tree | d8b9e865cbc78d64835a63959370865a2a043223 /nscd/nscd_conf.c | |
parent | 4ff389feb39f2eb649530b843d478c80c27ab4cf (diff) |
Changes and additions migrated from cvs.devel.redhat.com:/cvs/devel/glibc to fedora-branch
Diffstat (limited to 'nscd/nscd_conf.c')
-rw-r--r-- | nscd/nscd_conf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nscd/nscd_conf.c b/nscd/nscd_conf.c index 2e6f8127a7..8a312ff459 100644 --- a/nscd/nscd_conf.c +++ b/nscd/nscd_conf.c @@ -224,7 +224,10 @@ nscd_parse_file (const char *fname, struct database_dyn dbs[lastdb]) if (strcmp (arg2, "no") == 0) dbs[cnt].shared = 0; else if (strcmp (arg2, "yes") == 0) - dbs[cnt].shared = 1; +#ifndef atomic_supports_shared +#define atomic_supports_shared 1 +#endif + dbs[cnt].shared = atomic_supports_shared; break; } if (cnt == lastdb) |