Browse Source

Merge pull request #956 from hamishcoleman/dev

Ensure an error is generated when compiling with invalid options
pull/958/head
Hamish Coleman 3 years ago
committed by GitHub
parent
commit
a271dc7039
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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