size_t is 'unsigned int' (for backward compatibility)
This commit is contained in:
parent
fb25b628d6
commit
86188fb772
6 changed files with 0 additions and 24 deletions
|
@ -23,11 +23,7 @@ typedef long ptrdiff_t; /* result of substracting two pointers */
|
||||||
|
|
||||||
#if !defined(_SIZE_T)
|
#if !defined(_SIZE_T)
|
||||||
#define _SIZE_T
|
#define _SIZE_T
|
||||||
#if _EM_WSIZE == _EM_PSIZE
|
|
||||||
typedef unsigned int size_t; /* type returned by sizeof */
|
typedef unsigned int size_t; /* type returned by sizeof */
|
||||||
#else
|
|
||||||
typedef unsigned long size_t; /* type returned by sizeof */
|
|
||||||
#endif
|
|
||||||
#endif /* _SIZE_T */
|
#endif /* _SIZE_T */
|
||||||
|
|
||||||
#if !defined(_WCHAR_T)
|
#if !defined(_WCHAR_T)
|
||||||
|
|
|
@ -62,11 +62,7 @@ typedef long int fpos_t;
|
||||||
|
|
||||||
#if !defined(_SIZE_T)
|
#if !defined(_SIZE_T)
|
||||||
#define _SIZE_T
|
#define _SIZE_T
|
||||||
#if _EM_WSIZE == _EM_PSIZE
|
|
||||||
typedef unsigned int size_t; /* type returned by sizeof */
|
typedef unsigned int size_t; /* type returned by sizeof */
|
||||||
#else
|
|
||||||
typedef unsigned long size_t; /* type returned by sizeof */
|
|
||||||
#endif
|
|
||||||
#endif /* _SIZE_T */
|
#endif /* _SIZE_T */
|
||||||
|
|
||||||
extern FILE *__iotab[FOPEN_MAX];
|
extern FILE *__iotab[FOPEN_MAX];
|
||||||
|
|
|
@ -21,11 +21,7 @@ typedef struct { long quot, rem; } ldiv_t;
|
||||||
|
|
||||||
#if !defined(_SIZE_T)
|
#if !defined(_SIZE_T)
|
||||||
#define _SIZE_T
|
#define _SIZE_T
|
||||||
#if _EM_WSIZE == _EM_PSIZE
|
|
||||||
typedef unsigned int size_t; /* type returned by sizeof */
|
typedef unsigned int size_t; /* type returned by sizeof */
|
||||||
#else
|
|
||||||
typedef unsigned long size_t; /* type returned by sizeof */
|
|
||||||
#endif
|
|
||||||
#endif /* _SIZE_T */
|
#endif /* _SIZE_T */
|
||||||
|
|
||||||
#if !defined(_WCHAR_T)
|
#if !defined(_WCHAR_T)
|
||||||
|
|
|
@ -13,11 +13,7 @@
|
||||||
|
|
||||||
#if !defined(_SIZE_T)
|
#if !defined(_SIZE_T)
|
||||||
#define _SIZE_T
|
#define _SIZE_T
|
||||||
#if _EM_WSIZE == _EM_PSIZE
|
|
||||||
typedef unsigned int size_t; /* type returned by sizeof */
|
typedef unsigned int size_t; /* type returned by sizeof */
|
||||||
#else
|
|
||||||
typedef unsigned long size_t; /* type returned by sizeof */
|
|
||||||
#endif
|
|
||||||
#endif /* _SIZE_T */
|
#endif /* _SIZE_T */
|
||||||
|
|
||||||
void *memcpy(void *_s1, const void *_s2, size_t _n);
|
void *memcpy(void *_s1, const void *_s2, size_t _n);
|
||||||
|
|
|
@ -12,11 +12,7 @@
|
||||||
|
|
||||||
#if !defined(_SIZE_T)
|
#if !defined(_SIZE_T)
|
||||||
#define _SIZE_T
|
#define _SIZE_T
|
||||||
#if _EM_WSIZE == _EM_PSIZE
|
|
||||||
typedef unsigned int size_t; /* type returned by sizeof */
|
typedef unsigned int size_t; /* type returned by sizeof */
|
||||||
#else
|
|
||||||
typedef unsigned long size_t; /* type returned by sizeof */
|
|
||||||
#endif
|
|
||||||
#endif /* _SIZE_T */
|
#endif /* _SIZE_T */
|
||||||
|
|
||||||
#if !defined(_TIME_T)
|
#if !defined(_TIME_T)
|
||||||
|
|
|
@ -16,11 +16,7 @@
|
||||||
|
|
||||||
#if !defined(_SIZE_T)
|
#if !defined(_SIZE_T)
|
||||||
#define _SIZE_T
|
#define _SIZE_T
|
||||||
#if _EM_WSIZE == _EM_PSIZE
|
|
||||||
typedef unsigned int size_t; /* type returned by sizeof */
|
typedef unsigned int size_t; /* type returned by sizeof */
|
||||||
#else
|
|
||||||
typedef unsigned long size_t; /* type returned by sizeof */
|
|
||||||
#endif
|
|
||||||
#endif /* _SIZE_T */
|
#endif /* _SIZE_T */
|
||||||
|
|
||||||
#if !defined(_TIME_T)
|
#if !defined(_TIME_T)
|
||||||
|
|
Loading…
Reference in a new issue