mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-05 14:32:15 +00:00
Fix build on 32-bit platforms with REAL_ADDRESSING mode
This commit is contained in:
parent
08c4acd21f
commit
830bf0f65c
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user