Merge pull request #956 from hamishcoleman/dev

Ensure an error is generated when compiling with invalid options
This commit is contained in:
Hamish Coleman 2022-02-11 21:38:30 +00:00 committed by GitHub
commit a271dc7039
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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