Ignore:
Timestamp:
Jun 17, 2005, 6:32:39 AM (20 years ago)
Author:
bird
Message:

Porting to 64-bit FreeBSD...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libctests/glibc/string/tst-strxfrm.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2043 r2044  
    1616  size_t l;
    1717  char *buf;
     18#ifdef HAVE_NEWLOCALE
    1819  locale_t loc;
     20#endif
    1921  int result = 0;
    2022
     
    4042    }
    4143
     44#ifdef HAVE_NEWLOCALE
    4245  loc = newlocale (1 << LC_ALL, locale, NULL);
    4346
     
    5255
    5356  freelocale (loc);
     57#endif
    5458
    5559  free (buf);
     
    6569
    6670  result |= test ("C");
     71#ifdef __BSD__ /* bsd is missing the aliases. loosers. */
     72  result |= test ("en_US.ISO8859-1");
     73#else
    6774  result |= test ("en_US.ISO-8859-1");
     75#endif
    6876  result |= test ("de_DE.UTF-8");
    6977
Note: See TracChangeset for help on using the changeset viewer.