I am trying to port the latest Open Source Version of Core Foundations. Here is the link to the source https://opensource.apple.com/source/CF/CF-855.14/.
When trying to compile CFBase.c I get lots of unknown type names CF_PRIVATE. Here is an example below.
I've been able to deal with the other couple dozen errors, but now I am unable to find the declaration for CF_PRIVATE or any documentation on it.
Any help would be appreciated and here is the question on Stack Overflow https://stackoverflow.com/questions/24224241/core-foundations-where-is-cf-private-defintion.
Thanks Have a great day.
When trying to compile CFBase.c I get lots of unknown type names CF_PRIVATE. Here is an example below.
Code:
./CFInternal.h:124:1: error: unknown type name 'CF_PRIVATE'
CF_PRIVATE CFIndex __CFActiveProcessorCount();
./CFInternal.h:176:1: error: unknown type name 'CF_PRIVATE'
CF_PRIVATE void _CFLogSimple(int32_t lev, char *format, ...);
./CFInternal.h:176:12: error: expected identifier or '('
CF_PRIVATE void _CFLogSimple(int32_t lev, char *format, ...);
I've been able to deal with the other couple dozen errors, but now I am unable to find the declaration for CF_PRIVATE or any documentation on it.
Any help would be appreciated and here is the question on Stack Overflow https://stackoverflow.com/questions/24224241/core-foundations-where-is-cf-private-defintion.
Thanks Have a great day.