Changes between Initial Version and Version 1 of Ticket #71265, comment 1


Ignore:
Timestamp:
Nov 10, 2024, 2:50:59 PM (4 days ago)
Author:
RJVB (René Bertin)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #71265, comment 1

    initial v1  
     1Re: 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
     3Judging 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{{{
     6extern "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
     12Does this mean they should actually be defined conditionally to avoid compilation errors in case the above definitions evaluate to empty space?