* hosts/std-host.h (offsetof): Define, if not already, for archive.c.
This commit is contained in:
parent
b5b4294e65
commit
f26a0e9bcf
@ -89,6 +89,11 @@ extern int unlink();
|
||||
#define BYTES_IN_PRINTF_INT 4
|
||||
#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"
|
||||
#define hosts_std_host_H
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user