diff options
| author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-02-26 12:49:14 +0000 |
|---|---|---|
| committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-02-26 12:49:14 +0000 |
| commit | c10198b3a3bd8f8d60fef9ef32293623d887b597 (patch) | |
| tree | d5ada0f1a6756fa5c0dd14e980e9c7180a9be6b9 /libc | |
| parent | e5412ca348e93df78d0caa42fdd5c6e61c7150b7 (diff) | |
| download | uClibc-alpine-c10198b3a3bd8f8d60fef9ef32293623d887b597.tar.bz2 uClibc-alpine-c10198b3a3bd8f8d60fef9ef32293623d887b597.tar.xz | |
- silence warning about undefined preprocessor token
Diffstat (limited to 'libc')
| -rw-r--r-- | libc/inet/getaddrinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inet/getaddrinfo.c b/libc/inet/getaddrinfo.c index ccc43b653..e3e514cbc 100644 --- a/libc/inet/getaddrinfo.c +++ b/libc/inet/getaddrinfo.c @@ -711,7 +711,7 @@ gaih_inet(const char *name, const struct gaih_service *service, (*pai)->ai_protocol = st2->protocol; (*pai)->ai_addrlen = socklen; (*pai)->ai_addr = (void *) (*pai) + sizeof(struct addrinfo); -#if SALEN +#if defined SALEN (*pai)->ai_addr->sa_len = socklen; #endif /* SALEN */ (*pai)->ai_addr->sa_family = family; |
