Boost logo

Boost-Commit :

From: bdawes_at_[hidden]
Date: 2007-11-15 09:36:40


Author: bemandawes
Date: 2007-11-15 09:36:40 EST (Thu, 15 Nov 2007)
New Revision: 41106
URL: http://svn.boost.org/trac/boost/changeset/41106

Log:
GetUserDefaultUILanguage isn't present for Cygwin, so disable use
Text files modified:
   trunk/libs/filesystem/test/operations_test.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/filesystem/test/operations_test.cpp
==============================================================================
--- trunk/libs/filesystem/test/operations_test.cpp (original)
+++ trunk/libs/filesystem/test/operations_test.cpp 2007-11-15 09:36:40 EST (Thu, 15 Nov 2007)
@@ -269,7 +269,7 @@
     platform = "POSIX";
 # elif defined( BOOST_WINDOWS_API )
     platform = "Windows";
-# ifndef __MINGW32__
+# if !defined(__MINGW32__) && !defined(__CYGWIN__)
       language_id = ::GetUserDefaultUILanguage();
 # else
       language_id = 0x0409; // Assume US English


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk