[Pkg-privacy-commits] [onioncat] 169/241: added missing OpenBSD endianess macros for Cygwin. This affected NDP protocol.

Intrigeri intrigeri at moszumanska.debian.org
Wed Aug 26 16:17:00 UTC 2015


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to branch upstream-master
in repository onioncat.

commit 5e3295a66cf7638cc0f223af632bc853dfb69135
Author: eagle <eagle at 58e1ccc2-750e-0410-8d0d-f93ca75ab447>
Date:   Wed Mar 4 14:29:05 2009 +0000

    added missing OpenBSD endianess macros for Cygwin. This affected NDP protocol.
    
    
    git-svn-id: https://www.cypherpunk.at/svn/onioncat/trunk@489 58e1ccc2-750e-0410-8d0d-f93ca75ab447
---
 src/cygwin/ocat_cygwin.h | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/src/cygwin/ocat_cygwin.h b/src/cygwin/ocat_cygwin.h
index 481af68..03cfc21 100644
--- a/src/cygwin/ocat_cygwin.h
+++ b/src/cygwin/ocat_cygwin.h
@@ -53,6 +53,17 @@ struct {                                                                \
         struct type **le_prev;  /* address of previous next element */  \
 }
 
+//! define OpenBSD-style byteorder macros
+#ifndef _BYTE_ORDER
+#define _BYTE_ORDER BYTE_ORDER
+#endif
+#ifndef _LITTLE_ENDIAN
+#define _LITTLE_ENDIAN LITTLE_ENDIAN
+#endif
+#ifndef _BIG_ENDIAN
+#define _BIG_ENDIAN BIG_ENDIAN
+#endif
+
 #include "openbsd_netinet_ip6.h"
 #include "openbsd_netinet_icmp6.h"
 #include "openbsd_netinet_if_ether.h"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onioncat.git



More information about the Pkg-privacy-commits mailing list