|
slibc
|
00001 /* Copyright (C) 2011-2012 SBA Research gGmbh 00002 00003 This file is part of the Slibc Library. 00004 00005 The Slibc Library is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU Lesser General Public 00007 License as published by the Free Software Foundation; either 00008 version 2.1 of the License, or (at your option) any later version. 00009 00010 The Slibc library is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 Lesser General Public License for more details. 00014 00015 You should have received a copy of the GNU Lesser General Public 00016 License along with the Slibc Library; if not, see 00017 <http://www.gnu.org/licenses/>. 00018 */ 00023 #ifdef __cplusplus 00024 // In C++ we explicitly have to request that the 00025 // SIZE_MAX macro is defined by defining __STDC_LIMIT_MACROS. 00026 #define __STDC_LIMIT_MACROS 00027 #endif 00028 // include the system-header first 00029 #include_next <stdint.h> 00030 00031 #ifndef SLIBC_STDINT_H 00032 #define SLIBC_STDINT_H 00033 00034 // TR 24731-1 is not available if __STDC_WANT_LIB_EXT1__ equals 0 00035 #if (!defined(__STDC_WANT_LIB_EXT1__) || (__STDC_WANT_LIB_EXT1__ != 0)) 00036 00037 00042 #define RSIZE_MAX (SIZE_MAX >> 1) 00043 00044 #endif //(!defined(__STDC_WANT_LIB_EXT1__) || (__STDC_WANT_LIB_EXT1__ != 0)) 00045 00046 #endif
1.7.6.1