mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 13:56:22 +08:00
Add '#define HAVE_PROCFS', move '#include "fopen-same.h" to end of file
to match the other h-* files.
This commit is contained in:
@ -10,8 +10,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/file.h>
|
#include <sys/file.h>
|
||||||
|
|
||||||
#include "fopen-same.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
|
||||||
@ -19,6 +17,7 @@
|
|||||||
#define SEEK_CUR 1
|
#define SEEK_CUR 1
|
||||||
|
|
||||||
#define POSIX_UTIME
|
#define POSIX_UTIME
|
||||||
|
#define HAVE_PROCFS /* This host has /proc support */
|
||||||
|
|
||||||
extern PROTO(int, abort,(void));
|
extern PROTO(int, abort,(void));
|
||||||
extern PROTO(int, close,(int));
|
extern PROTO(int, close,(int));
|
||||||
@ -63,3 +62,5 @@ typedef short int16_type;
|
|||||||
typedef unsigned short uint16_type;
|
typedef unsigned short uint16_type;
|
||||||
typedef int int32_type;
|
typedef int int32_type;
|
||||||
typedef unsigned int uint32_type;
|
typedef unsigned int uint32_type;
|
||||||
|
|
||||||
|
#include "fopen-same.h"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* SVR4 Unix host system */
|
/* SVR4 Unix host system */
|
||||||
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@ -16,6 +17,7 @@
|
|||||||
#define SEEK_CUR 1
|
#define SEEK_CUR 1
|
||||||
|
|
||||||
#define POSIX_UTIME
|
#define POSIX_UTIME
|
||||||
|
#define HAVE_PROCFS /* This host has /proc support */
|
||||||
|
|
||||||
extern PROTO(int, abort,(void));
|
extern PROTO(int, abort,(void));
|
||||||
extern PROTO(int, close,(int));
|
extern PROTO(int, close,(int));
|
||||||
@ -60,4 +62,5 @@ typedef short int16_type;
|
|||||||
typedef unsigned short uint16_type;
|
typedef unsigned short uint16_type;
|
||||||
typedef int int32_type;
|
typedef int int32_type;
|
||||||
typedef unsigned int uint32_type;
|
typedef unsigned int uint32_type;
|
||||||
|
|
||||||
#include "fopen-same.h"
|
#include "fopen-same.h"
|
||||||
|
Reference in New Issue
Block a user