/home/ntakagi/work/STLport-5.1.5/stlport/stl/_cstddef.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_CSTDDEF
00017 #define _STLP_INTERNAL_CSTDDEF
00018 
00019 #  if (__GNUC__ >= 3) && defined (__CYGWIN__) // this total HACK is the only expedient way I could cygwin to work with GCC 3.0
00020 #    define __need_wint_t // mostly because wint_t didn't seem to get defined otherwise :(
00021 #    define __need_wchar_t
00022 #    define __need_size_t
00023 #    define __need_ptrdiff_t
00024 #    define __need_NULL
00025 #  endif
00026 
00027 #  if defined (_STLP_USE_NEW_C_HEADERS)
00028 #    include _STLP_NATIVE_CPP_C_HEADER(cstddef)
00029 #  else
00030 #    include <stddef.h>
00031 #  endif
00032 
00033 #  ifdef _STLP_IMPORT_VENDOR_CSTD
00034 _STLP_BEGIN_NAMESPACE
00035 using _STLP_VENDOR_CSTD::ptrdiff_t;
00036 using _STLP_VENDOR_CSTD::size_t;
00037 _STLP_END_NAMESPACE
00038 #  endif /* _STLP_IMPORT_VENDOR_CSTD */
00039 
00040 #endif /* _STLP_INTERNAL_CSTDDEF */



Generated on Mon Mar 10 15:32:20 2008 by  doxygen 1.5.1