mirror of
https://github.com/ntop/n2n.git
synced 2024-09-20 00:51:10 +02:00
Ensure an error is generated when compiling with invalid options
This commit is contained in:
parent
af39fa12d8
commit
aab0d508df
|
@ -505,6 +505,8 @@ void n2n_chg_port_mapping (struct n2n_edge *eee, uint16_t port) {
|
||||||
pthread_mutex_unlock(&eee->port_map_parameter->access);
|
pthread_mutex_unlock(&eee->port_map_parameter->access);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
#error "enabling port mapping requires enabling pthread"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user