aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/SetLocale.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-10-18 12:07:02 +0000
committermarha <marha@users.sourceforge.net>2009-10-18 12:07:02 +0000
commitb567a3027bceabc0f1f42dd162268f06f15e8149 (patch)
tree30e9dda79caf9b5fb6e375c352282ca5845c699c /libX11/src/SetLocale.c
parent0c5e1ab504b4e8c56974a234bd440e9fa2f1f941 (diff)
downloadvcxsrv-b567a3027bceabc0f1f42dd162268f06f15e8149.tar.gz
vcxsrv-b567a3027bceabc0f1f42dd162268f06f15e8149.tar.bz2
vcxsrv-b567a3027bceabc0f1f42dd162268f06f15e8149.zip
Updated following packages:
libX11-1.3.1 xtrans-1.2.5
Diffstat (limited to 'libX11/src/SetLocale.c')
-rw-r--r--libX11/src/SetLocale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libX11/src/SetLocale.c b/libX11/src/SetLocale.c
index 015577726..a19baa927 100644
--- a/libX11/src/SetLocale.c
+++ b/libX11/src/SetLocale.c
@@ -121,7 +121,7 @@ _Xsetlocale(
#else /* X_LOCALE */
-#ifdef __APPLE__
+#if defined(__APPLE__) || defined(__CYGWIN__)
char *
_Xsetlocale(
int category,
@@ -130,7 +130,7 @@ _Xsetlocale(
{
return setlocale(category, name);
}
-#endif /* __APPLE__ */
+#endif /* __APPLE__ || __CYGWIN__ */
/*
* _XlcMapOSLocaleName is an implementation dependent routine that derives