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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user