mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
Tue Feb 15 12:44:30 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-make.in (CSEARCH): Add include/mpw to search path. * hosts/mpw.h (stat): Remove incomplete definition, now in include/mpw/sys. (POSIX_UTIME): Define.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
Tue Feb 15 12:44:30 1994 Stan Shebs (shebs@andros.cygnus.com)
|
||||||
|
|
||||||
|
* mpw-make.in (CSEARCH): Add include/mpw to search path.
|
||||||
|
* hosts/mpw.h (stat): Remove incomplete definition, now in
|
||||||
|
include/mpw/sys.
|
||||||
|
(POSIX_UTIME): Define.
|
||||||
|
|
||||||
Sat Jan 22 13:30:57 1994 Stan Shebs (shebs@andros.cygnus.com)
|
Sat Jan 22 13:30:57 1994 Stan Shebs (shebs@andros.cygnus.com)
|
||||||
|
|
||||||
* mpw-config.in: Create sysdep.h using forward-include.
|
* mpw-config.in: Create sysdep.h using forward-include.
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
|
/* MPW host-specific definitions. */
|
||||||
|
|
||||||
#ifndef hosts_mpw_H
|
#ifndef hosts_mpw_H
|
||||||
|
#define hosts_mpw_H
|
||||||
|
|
||||||
#ifndef MPW
|
#ifndef MPW
|
||||||
#define MPW
|
#define MPW
|
||||||
@ -25,9 +28,10 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
||||||
|
#include <sys/stat.h>
|
||||||
|
|
||||||
#ifndef O_ACCMODE
|
#ifndef O_ACCMODE
|
||||||
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
|
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
|
||||||
#endif
|
#endif
|
||||||
@ -37,7 +41,6 @@
|
|||||||
#ifndef SEEK_CUR
|
#ifndef SEEK_CUR
|
||||||
#define SEEK_CUR 1
|
#define SEEK_CUR 1
|
||||||
#endif
|
#endif
|
||||||
/*#include <string.h>*/
|
|
||||||
|
|
||||||
#ifndef BYTES_IN_PRINTF_INT
|
#ifndef BYTES_IN_PRINTF_INT
|
||||||
#define BYTES_IN_PRINTF_INT 4
|
#define BYTES_IN_PRINTF_INT 4
|
||||||
@ -59,27 +62,9 @@
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef short ino_t;
|
|
||||||
typedef short dev_t;
|
|
||||||
|
|
||||||
struct stat {
|
|
||||||
ino_t st_ino;
|
|
||||||
dev_t st_dev;
|
|
||||||
int st_mode;
|
|
||||||
int st_size;
|
|
||||||
int st_uid;
|
|
||||||
int st_gid;
|
|
||||||
int st_mtime;
|
|
||||||
};
|
|
||||||
|
|
||||||
#define S_ISREG(m) (0)
|
|
||||||
#define S_ISDIR(m) (0)
|
|
||||||
|
|
||||||
#define NO_FCNTL
|
#define NO_FCNTL
|
||||||
|
|
||||||
#ifdef __STDIO__
|
|
||||||
FILE *mpw_fopen ();
|
FILE *mpw_fopen ();
|
||||||
#endif
|
|
||||||
int mpw_fstat ();
|
int mpw_fstat ();
|
||||||
int mpw_fseek ();
|
int mpw_fseek ();
|
||||||
void mpw_abort ();
|
void mpw_abort ();
|
||||||
@ -102,9 +87,12 @@ void mpw_abort ();
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef TRUE_FALSE_ALREADY_DEFINED
|
||||||
#define TRUE_FALSE_ALREADY_DEFINED
|
#define TRUE_FALSE_ALREADY_DEFINED
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define POSIX_UTIME
|
||||||
|
|
||||||
#define LOSING_TOTALLY
|
#define LOSING_TOTALLY
|
||||||
|
|
||||||
#define hosts_mpw_H
|
#endif /* hosts_mpw_H */
|
||||||
#endif
|
|
||||||
|
@ -73,7 +73,7 @@ CC_FOR_BUILD = {CC}
|
|||||||
|
|
||||||
INCDIR = "{topsrcdir}"include
|
INCDIR = "{topsrcdir}"include
|
||||||
#CSEARCH = -i : -i {srcdir} -i {INCDIR}:
|
#CSEARCH = -i : -i {srcdir} -i {INCDIR}:
|
||||||
CSEARCH = -i "{INCDIR}","{INCDIR}":,"{topsrcdir}"extra-include:,"{srcdir}"
|
CSEARCH = -i "{INCDIR}","{INCDIR}":,"{INCDIR}":mpw:,::extra-include:,"{srcdir}"
|
||||||
DEP = mkdep
|
DEP = mkdep
|
||||||
|
|
||||||
SUBDIRS = doc
|
SUBDIRS = doc
|
||||||
|
Reference in New Issue
Block a user