From: Lev Stipakov <[email protected]> Because this is a part of C99 if uint8_t is available.
Change-Id: I37482a8c322680add00bab52272f9945fbb3bd09 Signed-off-by: Lev Stipakov <[email protected]> Acked-by: Gert Doering <[email protected]> --- This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master. Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/940 This mail reflects revision 1 of this Change. Acked-by according to Gerrit (reflected above): Gert Doering <[email protected]> diff --git a/src/openvpn/socket.c b/src/openvpn/socket.c index bd7a449..a0c22b1 100644 --- a/src/openvpn/socket.c +++ b/src/openvpn/socket.c @@ -3036,10 +3036,6 @@ return BSTR(&buffer); } -#ifndef UINT8_MAX -#define UINT8_MAX 0xff -#endif - /* add some offset to an ipv6 address * (add in steps of 8 bits, taking overflow into next round) */ _______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
