diff options
author | Michele Papalini <micpapal@cisco.com> | 2019-02-10 13:34:16 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2019-02-10 13:34:16 +0000 |
commit | b98d1bb135b617bf28202d328c44ed7a6eff025c (patch) | |
tree | 1781dab6e120627a359dccca7e5f071994d52ce6 /hicn-light/src/socket/api.h | |
parent | 731e1188262be87d962f5694022fc74928d889b0 (diff) | |
parent | 1ac41cb08281bf5460dfea5fc40ff6f8e14873a1 (diff) |
Merge "[HICN-49] Remove warnings hicn-light on windows"
Diffstat (limited to 'hicn-light/src/socket/api.h')
-rw-r--r-- | hicn-light/src/socket/api.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hicn-light/src/socket/api.h b/hicn-light/src/socket/api.h index e1516ebe1..3a1ae92b4 100644 --- a/hicn-light/src/socket/api.h +++ b/hicn-light/src/socket/api.h @@ -34,8 +34,9 @@ #define BUFSIZE 4096 #define MAX_CONNECTIONS \ 255 // We currently limit the number of connections we can establish +#ifndef IF_NAMESIZE #define IF_NAMESIZE 16 - +#endif /* hICN socket helper */ /** hICN configuration options */ |