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:
committed by
Paul Koning
parent
f0fc035087
commit
c1c2259b13
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user