]> git.lyx.org Git - lyx.git/blobdiff - boost/boost/regex/config/cwchar.hpp
Also display the info about BibTeX databases in the TeX info panel.
[lyx.git] / boost / boost / regex / config / cwchar.hpp
index 5ca5b0c04a1b98072e90d0ab3c1087bdb5edea00..a55089d0ab45b582a6f155352e8c1fc46748042c 100644 (file)
@@ -1,7 +1,7 @@
 /*
  *
  * Copyright (c) 1998-2002
- * Dr John Maddock
+ * John Maddock
  *
  * Use, modification and distribution are subject to the 
  * Boost Software License, Version 1.0. (See accompanying file 
 #include <cwctype>
 #include <boost/config.hpp>
 
+#if defined(__STD_RWCOMPILER_H__) || defined(_RWSTD_VER)
+// apparently this is required for the RW STL on Linux:
+#undef iswalnum
+#undef iswalpha
+#undef iswblank
+#undef iswcntrl
+#undef iswdigit
+#undef iswgraph
+#undef iswlower
+#undef iswprint
+#undef iswprint
+#undef iswpunct
+#undef iswspace
+#undef iswupper
+#undef iswxdigit
+#undef iswctype
+#undef towlower
+#undef towupper
+#undef towctrans
+#undef wctrans
+#undef wctype
+#endif
+
 namespace std{
 
 #ifndef BOOST_NO_STDC_NAMESPACE
@@ -145,7 +168,7 @@ using ::wcscmp;
 inline int (wcscoll)(const wchar_t *p1, const wchar_t *p2)
 { return wcscoll(p1,p2); }
 #undef wcscoll
-#elif defined(BOOST_NO_STDC_NAMESPACE)
+#elif defined(BOOST_NO_STDC_NAMESPACE) && !defined(UNDER_CE)
 using ::wcscoll;
 #endif