Ensure an error is generated when compiling with invalid options

This commit is contained in:
Hamish Coleman 2022-02-11 21:23:34 +00:00
parent af39fa12d8
commit aab0d508df

View File

@ -505,6 +505,8 @@ void n2n_chg_port_mapping (struct n2n_edge *eee, uint16_t port) {
pthread_mutex_unlock(&eee->port_map_parameter->access);
}
#else
#error "enabling port mapping requires enabling pthread"
#endif