Cleanup use of predefined data types / defines

git-svn-id: svn://svn.cc65.org/cc65/trunk@2342 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-08-16 08:23:01 +00:00
parent cc389a3911
commit c52034c59a
5 changed files with 43 additions and 35 deletions

View File

@@ -37,7 +37,7 @@
#define _UNISTD_H
/*****************************************************************************/
/* Data */
/*****************************************************************************/
@@ -49,9 +49,15 @@
#define STDOUT_FILENO 1
#define STDERR_FILENO 2
/* WE need size_t */
#ifndef _HAVE_size_t
#define _HAVE_size_t
typedef unsigned size_t;
#endif
/* We need off_t if sys/types is not included */
#ifndef __HAVE_off_t
#define __HAVE_off_t
#ifndef _HAVE_off_t
#define _HAVE_off_t
typedef long int off_t;
#endif