diff options
| author | Ben Boeckel <ben.boeckel@kitware.com> | 2018-10-26 17:26:02 -0400 |
|---|---|---|
| committer | Ben Boeckel <ben.boeckel@kitware.com> | 2018-10-26 18:23:37 -0400 |
| commit | 2437bbbf152c983523b7577b68e16173e9b3a924 (patch) | |
| tree | 7959773408ecad48888c053e23af41efc86aeb5d /docs/source/development/reference/cpp | |
| parent | 35eb793ff6b411cc88fc578b4d99e34cd25ca613 (diff) | |
| download | PROJ-2437bbbf152c983523b7577b68e16173e9b3a924.tar.gz PROJ-2437bbbf152c983523b7577b68e16173e9b3a924.zip | |
cmake: detect PTHREAD_MUTEX_RECURSIVE by compiling
The `check_symbol_exists` cannot detect `#define symbol 1` because it
takes the address of the symbol to detect it, but the address of a
literal is not allowed. Some platforms define `PTHREAD_MUTEX_RECURSIVE`
by such a literal.
Fixes #1158
Diffstat (limited to 'docs/source/development/reference/cpp')
0 files changed, 0 insertions, 0 deletions
