Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygen_mbstate_t.h
Go to the documentation of this file.
00001 /* 00002 * Copyright (c) 1999 00003 * Boris Fomitchev 00004 * 00005 * This material is provided "as is", with absolutely no warranty expressed 00006 * or implied. Any use is at your own risk. 00007 * 00008 * Permission to use or copy this software for any purpose is hereby granted 00009 * without fee, provided the above notices are retained on all copies. 00010 * Permission to modify the code and to distribute modified code is granted, 00011 * provided the above notices are retained, and a notice that the code was 00012 * modified is included with the above copyright notice. 00013 * 00014 */ 00015 00016 #ifndef _STLP_INTERNAL_MBSTATE_T 00017 #define _STLP_INTERNAL_MBSTATE_T 00018 00019 #if (defined (__OpenBSD__) || defined (__FreeBSD__) || defined (__hpux)) && defined (__GNUC__) && !defined (_GLIBCPP_HAVE_MBSTATE_T) 00020 # define _STLP_CPP_MBSTATE_T /* mbstate_t defined in native <cwchar>, so not defined in C! */ 00021 #endif 00022 00023 #if defined (_STLP_NO_NATIVE_MBSTATE_T) || defined (_STLP_CPP_MBSTATE_T) && !defined (_MBSTATE_T) 00024 # define _STLP_USE_OWN_MBSTATE_T 00025 # define _MBSTATE_T 00026 #endif 00027 00028 #if defined (_STLP_USE_OWN_MBSTATE_T) 00029 # if !defined (_STLP_CPP_MBSTATE_T) || !defined (__cplusplus) || !defined (_STLP_USE_NEW_C_HEADERS) 00030 typedef int mbstate_t; 00031 # endif 00032 00033 # if !defined (_STLP_CPP_MBSTATE_T) && defined (__cplusplus) && defined (_STLP_USE_NAMESPACES) 00034 _STLP_BEGIN_NAMESPACE 00035 using ::mbstate_t; 00036 _STLP_END_NAMESPACE 00037 # endif 00038 00039 #endif /* _STLP_USE_OWN_MBSTATE_T */ 00040 00041 #endif /* _STLP_INTERNAL_MBSTATE_T */ Generated on Sun May 27 2012 04:29:18 for ReactOS by
1.7.6.1
|