this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Define `PLATFORM_MacOSX`

The cdef.h header is used to automatically determine how a symbol should be defined. Since no platform was defined, the `__DARWIN_ONLY_UNIX_CONFORMANCE` would not properly get set to 1 if the arch is not `i386`.

This fixes the issues where x86_64 would have `$UNIX2003` appended to some of the symbols.

I recommend refering to the `COMPAT(5)` man page for a better understanding on this issue.

Thomas A c9613e16 fdbb1f49

+1
+1
src/CMakeLists.txt
··· 74 74 -D_POSIX_C_SOURCE 75 75 -DDARWIN 76 76 -DTARGET_OS_MAC=1 77 + -DPLATFORM_MacOSX 77 78 ) 78 79 79 80 set(CMAKE_AR "${CMAKE_BINARY_DIR}/src/external/cctools-port/cctools/ar/${APPLE_TARGET_TRIPLET_PRIMARY}-ar")