~ubuntu-branches/ubuntu/lucid/libx11/lucid

« back to all changes in this revision

Viewing changes to src/SetLocale.c

  • Committer: Bazaar Package Importer
  • Author(s): Timo Aaltonen
  • Date: 2009-12-04 11:43:54 UTC
  • mfrom: (1.1.10 upstream) (2.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20091204114354-0lik4mbb1bv1a8nw
Tags: 2:1.3.2-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Add 100_latin_locale_alias.diff (LP 379785)

Show diffs side-by-side

added added

removed removed

Lines of Context:
121
121
 
122
122
#else /* X_LOCALE */
123
123
 
124
 
#ifdef __APPLE__
 
124
#if defined(__APPLE__) || defined(__CYGWIN__)
125
125
char *
126
126
_Xsetlocale(
127
127
    int           category,
130
130
{
131
131
    return setlocale(category, name);
132
132
}
133
 
#endif /* __APPLE__ */
 
133
#endif /* __APPLE__ || __CYGWIN__ */
134
134
 
135
135
/*
136
136
 * _XlcMapOSLocaleName is an implementation dependent routine that derives