]> The Tcpdump Group git mirrors - tcpdump/blobdiff - decnet.h
Added support for Win32, based on WinPcap.
[tcpdump] / decnet.h
index bccce358447de6f2e53b532917fbee2372175b38..5f8563451fe7668ec30add949239f966ddab86ca 100644 (file)
--- a/decnet.h
+++ b/decnet.h
  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
- * @(#) $Header: /tcpdump/master/tcpdump/decnet.h,v 1.7 2000-10-03 02:54:55 itojun Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/tcpdump/decnet.h,v 1.8 2002-08-01 08:52:57 risso Exp $ (LBL)
  */
 
-typedef u_int8_t byte[1];              /* single byte field */
+#ifndef WIN32
+typedef u_int8_t byte[1];              /* XXX the byte keyword generates conflicts in Windows */
+#else
+/*
+ * the keyword 'byte' generates conflicts in Windows
+ */
+typedef unsigned char Byte[1];
+#define byte Byte
+#endif /* WIN32 */
 typedef u_int8_t word[2];              /* 2 byte field */
 typedef u_int8_t longword[4];          /* 4 bytes field */