mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-08-15 11:27:35 +00:00
Fix build on 32-bit platforms with REAL_ADDRESSING mode
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user