* include/stdlib.h: Don't include stdint.h. Conditionally define intptr_t.

* include/io.h: Likewise.
This commit is contained in:
Danny Smith
2007-06-13 07:43:58 +00:00
parent ecd5f070c8
commit 5930885278
3 changed files with 22 additions and 3 deletions

View File

@ -18,7 +18,6 @@
* an inclusion of sys/types.h */
#include <sys/types.h> /* To get time_t. */
#include <stdint.h> /* For intptr_t. */
/*
* Attributes of files as returned by _findfirst et al.
@ -34,6 +33,15 @@
#ifndef RC_INVOKED
#ifndef _INTPTR_T_DEFINED
#define _INTPTR_T_DEFINED
#ifdef _WIN64
typedef __int64 intptr_t;
#else
typedef int intptr_t;
#endif
#endif
#ifndef _FSIZE_T_DEFINED
typedef unsigned long _fsize_t;
#define _FSIZE_T_DEFINED