#ifndef CONFIG_H #define CONFIG_H #define LIB_PATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/darling" #define LIBEXEC_PATH "${CMAKE_INSTALL_PREFIX}/libexec/darling" #define LIB_DIR_NAME "lib@SUFFIX@" #define INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}" #define SHARE_PATH "${CMAKE_INSTALL_PREFIX}/share/darling" #define DYLD_PATH "${CMAKE_INSTALL_PREFIX}/bin/dyld" #define ETC_DARLING_PATH "/etc/darling" // Path where the system root gets "mounted" inside the prefix #define SYSTEM_ROOT "/Volumes/SystemRoot" #define GIT_BRANCH "@GIT_BRANCH@" #define GIT_COMMIT_HASH "@GIT_COMMIT_HASH@" #cmakedefine MULTILIB #ifndef __APPLE__ /* * Credit: * * David Chisnall * http://comments.gmane.org/gmane.comp.desktop.etoile.devel/1556 * * */ #ifdef __block # undef __block # include # define __block __attribute__((__blocks__(byref))) #else # include #endif #include #define __uint64_t uint64_t /* #define __darwin_natural_t long */ #endif #endif