mirror of
https://github.com/open-simh/simh.git
synced 2026-01-25 19:57:36 +00:00
Added OSX on PowerPC support
This commit is contained in:
@@ -1063,8 +1063,8 @@ void pcap_close(pcap_t* a) {
|
||||
}
|
||||
}
|
||||
|
||||
/* OpenBSD has an ancient declaration of pcap_compile which doesn't have a const in the bpf string argument */
|
||||
#if defined (__OpenBSD__)
|
||||
/* OpenBSD and OS/X on PowerPC have an ancient declaration of pcap_compile which doesn't have a const in the bpf string argument */
|
||||
#if defined (__OpenBSD__) || (defined (__APPLE__) && defined (__POWERPC__))
|
||||
int pcap_compile(pcap_t* a, struct bpf_program* b, char* c, int d, bpf_u_int32 e) {
|
||||
#else
|
||||
int pcap_compile(pcap_t* a, struct bpf_program* b, const char* c, int d, bpf_u_int32 e) {
|
||||
|
||||
Reference in New Issue
Block a user