diff options
author | Jim Meyering <jim@meyering.net> | 2001-11-11 15:24:53 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-11-11 15:24:53 +0000 |
commit | dae7a9d7f4d3635a604930dc78caea61bfd6acff (patch) | |
tree | 5ca4a83a29ef37c4ce5b8fd433f7f8fee9e7830f | |
parent | 4bdaed5ff442abc37fa01e1960ac4c26f416fb36 (diff) | |
download | coreutils-dae7a9d7f4d3635a604930dc78caea61bfd6acff.tar.xz |
(struct_month_cmp): Guard definition with the same
cpp directive that guards the use.
-rw-r--r-- | src/sort.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sort.c b/src/sort.c index 0b0aa9a03..1ce7508a6 100644 --- a/src/sort.c +++ b/src/sort.c @@ -535,7 +535,7 @@ zaptemp (const char *name) } } -#ifdef ENABLE_NLS +#if defined ENABLE_NLS && HAVE_NL_LANGINFO static int struct_month_cmp (const void *m1, const void *m2) @@ -544,7 +544,7 @@ struct_month_cmp (const void *m1, const void *m2) ((const struct month *) m2)->name); } -#endif /* NLS */ +#endif /* Initialize the character class tables. */ |