ETHER: Only reference pcap_lib_version() when HAVE_PCAP_NETWORK is defined
This commit is contained in:
parent
731d99cf65
commit
7398e63b00
1 changed files with 4 additions and 0 deletions
|
@ -2440,7 +2440,11 @@ return SCPE_OK;
|
||||||
|
|
||||||
const char *eth_version (void)
|
const char *eth_version (void)
|
||||||
{
|
{
|
||||||
|
#if defined(HAVE_PCAP_NETWORK)
|
||||||
return pcap_lib_version();
|
return pcap_lib_version();
|
||||||
|
#else
|
||||||
|
return NULL;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
t_stat eth_attach_help(FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, const char *cptr)
|
t_stat eth_attach_help(FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, const char *cptr)
|
||||||
|
|
Loading…
Add table
Reference in a new issue