mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 22:48:57 +08:00
* hosts/std-host.h (offsetof): Define, if not already, for archive.c.
This commit is contained in:
@ -89,6 +89,11 @@ extern int unlink();
|
|||||||
#define BYTES_IN_PRINTF_INT 4
|
#define BYTES_IN_PRINTF_INT 4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* From ANSI C <stddef.h>, which we can't depend upon the existence of */
|
||||||
|
#ifndef offsetof
|
||||||
|
#define offsetof(type,memb) ((size_t)&(((type *)0)->memb))
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "fopen-same.h"
|
#include "fopen-same.h"
|
||||||
#define hosts_std_host_H
|
#define hosts_std_host_H
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user