cstdint
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034 #ifndef _GLIBCXX_CSTDINT
00035 #define _GLIBCXX_CSTDINT 1
00036
00037 #pragma GCC system_header
00038
00039 #ifndef __GXX_EXPERIMENTAL_CXX0X__
00040 # include <c++0x_warning.h>
00041 #endif
00042
00043 #if defined(_GLIBCXX_INCLUDE_AS_TR1)
00044 # error C++0x header cannot be included from TR1 header
00045 #endif
00046
00047 #include <bits/c++config.h>
00048
00049
00050 #if _GLIBCXX_HAVE_STDINT_H
00051 # ifndef __STDC_LIMIT_MACROS
00052 # define _UNDEF__STDC_LIMIT_MACROS
00053 # define __STDC_LIMIT_MACROS
00054 # endif
00055 # ifndef __STDC_CONSTANT_MACROS
00056 # define _UNDEF__STDC_CONSTANT_MACROS
00057 # define __STDC_CONSTANT_MACROS
00058 # endif
00059 # include <stdint.h>
00060 # ifdef _UNDEF__STDC_LIMIT_MACROS
00061 # undef __STDC_LIMIT_MACROS
00062 # undef _UNDEF__STDC_LIMIT_MACROS
00063 # endif
00064 # ifdef _UNDEF__STDC_CONSTANT_MACROS
00065 # undef __STDC_CONSTANT_MACROS
00066 # undef _UNDEF__STDC_CONSTANT_MACROS
00067 # endif
00068 #endif
00069
00070 #if defined(_GLIBCXX_INCLUDE_AS_CXX0X)
00071 # include <tr1_impl/cstdint>
00072 #else
00073 # define _GLIBCXX_INCLUDE_AS_CXX0X
00074 # define _GLIBCXX_BEGIN_NAMESPACE_TR1
00075 # define _GLIBCXX_END_NAMESPACE_TR1
00076 # define _GLIBCXX_TR1
00077 # include <tr1_impl/cstdint>
00078 # undef _GLIBCXX_TR1
00079 # undef _GLIBCXX_END_NAMESPACE_TR1
00080 # undef _GLIBCXX_BEGIN_NAMESPACE_TR1
00081 # undef _GLIBCXX_INCLUDE_AS_CXX0X
00082 #endif
00083
00084 #endif // _GLIBCXX_CSTDINT