diff options
-rw-r--r-- | ext/socket/addrinfo.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/socket/addrinfo.h b/ext/socket/addrinfo.h index 8601d99a77..8163dc9c95 100644 --- a/ext/socket/addrinfo.h +++ b/ext/socket/addrinfo.h @@ -171,11 +171,4 @@ const #endif char *gai_strerror(int); -/* In case there is no definition of offsetof() provided - though any proper -Standard C system should have one. */ - -#ifndef offsetof -#define offsetof(p_type,field) ((size_t)&(((p_type *)0)->field)) -#endif - #endif |