Browse Source

Ensure an error is generated when compiling with invalid options

pull/956/head
Hamish Coleman 3 years ago
parent
commit
aab0d508df
  1. 2
      src/n2n_port_mapping.c

2
src/n2n_port_mapping.c

@ -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

Loading…
Cancel
Save