stdint.mini.h | stdint.mini.h | |||
---|---|---|---|---|
/* Copyright (C) 2001-2002, 2004-2009 Free Software Foundation, Inc. | /* Copyright (C) 2001-2002, 2004-2010 Free Software Foundation, Inc. | |||
Written by Paul Eggert, Bruno Haible, Sam Steingold, Peter Burwood. | Written by Paul Eggert, Bruno Haible, Sam Steingold, Peter Burwood. | |||
This file is part of gnulib. | This file is part of gnulib. | |||
This program is free software; you can redistribute it and/or modify | This program is free software; you can redistribute it and/or modify | |||
it under the terms of the GNU Lesser General Public License as published by | it under the terms of the GNU Lesser General Public License as published by | |||
the Free Software Foundation; either version 2, or (at your option) | the Free Software Foundation; either version 2, or (at your option) | |||
any later version. | any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
GNU Lesser General Public License for more details. | GNU Lesser General Public License for more details. | |||
You should have received a copy of the GNU Lesser General Public License | You should have received a copy of the GNU Lesser General Public License | |||
along with this program; if not, write to the Free Software Foundation, | along with this program; if not, see <http://www.gnu.org/licenses/>. */ | |||
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ | ||||
/* | /* | |||
* Subset of ISO C 99 <stdint.h> for platforms that lack it. | * Subset of ISO C 99 <stdint.h> for platforms that lack it. | |||
* <http://www.opengroup.org/susv3xbd/stdint.h.html> | * <http://www.opengroup.org/susv3xbd/stdint.h.html> | |||
*/ | */ | |||
#ifndef _UNISTRING_STDINT_H | #ifndef _UNISTRING_STDINT_H | |||
/* When including a system file that in turn includes <inttypes.h>, | /* When including a system file that in turn includes <inttypes.h>, | |||
use the system <inttypes.h>, not our substitute. This avoids | use the system <inttypes.h>, not our substitute. This avoids | |||
skipping to change at line 123 | skipping to change at line 122 | |||
#undef int32_t | #undef int32_t | |||
#undef uint32_t | #undef uint32_t | |||
typedef int unistring_int32_t; | typedef int unistring_int32_t; | |||
typedef unsigned int unistring_uint32_t; | typedef unsigned int unistring_uint32_t; | |||
#define int32_t unistring_int32_t | #define int32_t unistring_int32_t | |||
#define uint32_t unistring_uint32_t | #define uint32_t unistring_uint32_t | |||
/* Avoid collision with Solaris 2.5.1 <pthread.h> etc. */ | /* Avoid collision with Solaris 2.5.1 <pthread.h> etc. */ | |||
#define _UINT8_T | #define _UINT8_T | |||
#define _UINT32_T | #define _UINT32_T | |||
#define _UINT64_T | ||||
#endif /* _UNISTRING_STDINT_H */ | #endif /* _UNISTRING_STDINT_H */ | |||
#endif /* !defined _UNISTRING_STDINT_H && !defined _GL_JUST_INCLUDE_SYSTEM_ STDINT_H */ | #endif /* !defined _UNISTRING_STDINT_H && !defined _GL_JUST_INCLUDE_SYSTEM_ STDINT_H */ | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 2 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |