1
0
mirror of https://github.com/open-simh/simh.git synced 2026-02-03 15:23:28 +00:00

Move vmnet below the definition of MAX to avoid redefinition

This commit is contained in:
Calvin Buckley
2025-01-26 16:13:23 -04:00
committed by Paul Koning
parent f0fc035087
commit c1c2259b13

View File

@@ -379,13 +379,13 @@
#include <unistd.h>
#endif
#define MAX(a,b) (((a) > (b)) ? (a) : (b))
// Declare earlier than other implementations
#ifdef HAVE_VMNET_NETWORK
#include <vmnet/vmnet.h>
#endif
#define MAX(a,b) (((a) > (b)) ? (a) : (b))
/* Internal routine - forward declaration */
static int _eth_get_system_id (char *buf, size_t buf_size);
static void eth_get_nic_hw_addr(ETH_DEV* dev, const char *devname, int set_on);