mirror of
https://github.com/Relintai/osxcross.git
synced 2025-02-03 22:45:56 +01:00
f8e57bfcd3
to highlight some changes: - this gets rid of the bash dependency (after installing) - osxcross-env, osxcross-conf and (the fake) dsymutil are now implemented in the wrapper - added: 'sw_vers' tool, which is required by some projects (llvm, ...) - added '-oc-use-gcc-libs' option (uses './build_gcc.sh' libstdc++) This new wrapper is also more restrict and several times faster than the bash implementation (~0.2ms vs. 10ms+).
16 lines
248 B
C
16 lines
248 B
C
#ifdef __clang__
|
|
#if __has_include(<__config>)
|
|
#include <__config>
|
|
#endif
|
|
|
|
#ifndef _LIBCPP_CONFIG
|
|
// NetBSD's libstdc++ 4.5.3
|
|
// requires this
|
|
#undef __GXX_EXPERIMENTAL_CXX0X__
|
|
#endif
|
|
#endif
|
|
|
|
#ifndef __has_builtin
|
|
#define __has_builtin(x) 0
|
|
#endif
|