Fix build on 32-bit platforms with REAL_ADDRESSING mode

This commit is contained in:
gbeauche 2005-06-05 07:03:12 +00:00
parent 08c4acd21f
commit 830bf0f65c

View File

@ -453,7 +453,7 @@ void ether_udp_read(uint32 packet, int length, struct sockaddr_in *from)
* Ethernet packet allocator
*/
#if SIZEOF_VOID_P == 4 || REAL_ADDRESSING == 0
#if SIZEOF_VOID_P != 4 || REAL_ADDRESSING == 0
static uint32 ether_packet = 0; // Ethernet packet (cached allocation)
static uint32 n_ether_packets = 0; // Number of ethernet packets allocated so far (should be at most 1)