stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r374559 - /incubator/stdcxx/trunk/include/rw/_defs.h
Date Fri, 03 Feb 2006 01:55:19 GMT
Author: sebor
Date: Thu Feb  2 17:55:16 2006
New Revision: 374559

URL: http://svn.apache.org/viewcvs?rev=374559&view=rev
Log:
2006-02-02  Martin Sebor  <sebor@roguewave.com>

	* _defs.h: Removed the macros _RWSTD_WCRTOMB() and _RWSTD_MBRTOWC()
	obviated by change in r374235.

Modified:
    incubator/stdcxx/trunk/include/rw/_defs.h

Modified: incubator/stdcxx/trunk/include/rw/_defs.h
URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/include/rw/_defs.h?rev=374559&r1=374558&r2=374559&view=diff
==============================================================================
--- incubator/stdcxx/trunk/include/rw/_defs.h (original)
+++ incubator/stdcxx/trunk/include/rw/_defs.h Thu Feb  2 17:55:16 2006
@@ -1223,30 +1223,6 @@
 #endif   // _RWSTD_NO_CLASS_PARTIAL_SPEC
 
 
-// select appropriate C multibyte conversion function based on
-// whether "restartable" functions are available.
-#ifndef _RWSTD_NO_MBRTOWC
-   // reentrant versions return size_t - see 7.24.6.3.2 of C99
-#  define _RWSTD_MBRTOWC(to, from, size, state) \
-          mbrtowc (to, from, size, state)
-#elif !defined (_RWSTD_NO_MBTOWC)
-   // non-reentrant versions return int - see 7.20.7.2 of C99
-#  define _RWSTD_MBRTOWC(to, from, size, ignore_state) \
-          (_RWSTD_SIZE_T)(mbtowc (to, from, size))
-#else
-   // mbtowc not supported
-#  define _RWSTD_MBRTOWC(ign1, ign2, ign3, ign4) (_RWSTD_SIZE_T)(-1)
-#endif   // _RWSTD_NO_MBRTOWC
-
-#ifndef _RWSTD_NO_WCRTOMB
-#  define _RWSTD_WCRTOMB(to, from, state) \
-          wcrtomb (to, from, state)
-#else   // if defined (_RWSTD_NO_WCRTOMB)
-#  define _RWSTD_WCRTOMB(to, from, ignore_state) \
-          (_RWSTD_SIZE_T)(wctomb (to, from))
-#endif   // _RWSTD_NO_WCRTOMB
-
-
 // enable only in debug mode and only id partial class specialization
 // is supported; prevent multiple definition of _RWSTD_NO_DEBUG_ITER
 #if    defined(_RWSTDDEBUG) && !defined (_RWSTD_NO_CLASS_PARTIAL_SPEC) \



Mime
View raw message