URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 205 |
Rev 206 |
Line 86... |
Line 86... |
#else
|
#else
|
typedef off_t file_off;
|
typedef off_t file_off;
|
#define file_open(s,m) fopen(s, m)
|
#define file_open(s,m) fopen(s, m)
|
#endif
|
#endif
|
#ifdef HAVE_STAT64
|
#ifdef HAVE_STAT64
|
|
# ifndef __APPLE__
|
typedef struct stat64 statbuf;
|
typedef struct stat64 statbuf;
|
#define file_stat(f,s) stat64(f, s)
|
#define file_stat(f,s) stat64(f, s)
|
#else
|
#else
|
|
// On OS X was getting errors to do with stat64() being deprecated
|
|
typedef struct stat statbuf;
|
|
#define file_stat(f,s) stat(f, s)
|
|
# endif
|
|
#else
|
typedef struct stat statbuf;
|
typedef struct stat statbuf;
|
#define file_stat(f,s) stat(f, s)
|
#define file_stat(f,s) stat(f, s)
|
#endif
|
#endif
|
|
|
/* Radix for printing addresses (must be 8, 10 or 16). */
|
/* Radix for printing addresses (must be 8, 10 or 16). */
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.