gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r19552 - gnunet/src/include


From: gnunet
Subject: [GNUnet-SVN] r19552 - gnunet/src/include
Date: Mon, 30 Jan 2012 22:35:45 +0100

Author: grothoff
Date: 2012-01-30 22:35:45 +0100 (Mon, 30 Jan 2012)
New Revision: 19552

Modified:
   gnunet/src/include/gnunet_tun_lib.h
Log:
-missed one

Modified: gnunet/src/include/gnunet_tun_lib.h
===================================================================
--- gnunet/src/include/gnunet_tun_lib.h 2012-01-30 21:32:10 UTC (rev 19551)
+++ gnunet/src/include/gnunet_tun_lib.h 2012-01-30 21:35:45 UTC (rev 19552)
@@ -183,7 +183,7 @@
    * Acknowledgement number.
    */
   uint32_t ack GNUNET_PACKED;
-#if __BYTE_ORDER == __LITTLE_ENDIAN       
+#if __BYTE_ORDER == __LITTLE_ENDIAN  || _BYTE_ORDER == _LITTLE_ENDIAN
   /**
    * Reserved.  Must be zero.
    */
@@ -192,7 +192,7 @@
    * Number of 32-bit words in TCP header.
    */
   unsigned int off : 4 GNUNET_PACKED;
-#elif __BYTE_ORDER == __BIG_ENDIAN
+#elif __BYTE_ORDER == __BIG_ENDIAN || _BYTE_ORDER == _BIG_ENDIAN
   /**
    * Number of 32-bit words in TCP header.
    */
@@ -201,6 +201,8 @@
    * Reserved.  Must be zero.
    */
   unsigned int reserved : 4 GNUNET_PACKED;
+#else
+  #error byteorder undefined
 #endif        
 
   /**




reply via email to

[Prev in Thread] Current Thread [Next in Thread]