| | 1 | Re: the patch: I'm not certain about the "dummy symbols" (which is what they seem to be) in `add_symbols.c`, nor if `__MPLS_SDK_SUPPORT_PTHREAD_CHDIR_NP__` should be used. |
| | 2 | |
| | 3 | Judging from 3rd party code using these functions it would appear that they are not defined in any header files but are usually defined with availability macro: |
| | 4 | |
| | 5 | {{{ |
| | 6 | extern "C" { |
| | 7 | int pthread_chdir_np(const char* dir) API_AVAILABLE(macosx(10.12)); |
| | 8 | int pthread_fchdir_np(int fd) API_AVAILABLE(macosx(10.12)); |
| | 9 | } |
| | 10 | }}} |
| | 11 | |
| | 12 | Does this mean they should actually be defined conditionally to avoid compilation errors in case the above definitions evaluate to empty space? |