this repo has no description
at fixPythonPipStalling 45 lines 1.0 kB view raw
1#ifndef CONFIG_H 2#define CONFIG_H 3 4#define LIB_PATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/darling" 5#define LIBEXEC_PATH "${CMAKE_INSTALL_PREFIX}/libexec/darling" 6#define LIB_DIR_NAME "lib@SUFFIX@" 7#define INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}" 8#define SHARE_PATH "${CMAKE_INSTALL_PREFIX}/share/darling" 9#define DYLD_PATH "${CMAKE_INSTALL_PREFIX}/bin/dyld" 10 11#define ETC_DARLING_PATH "/etc/darling" 12// Path where the system root gets "mounted" inside the prefix 13#define SYSTEM_ROOT "/Volumes/SystemRoot" 14 15#define GIT_BRANCH "@GIT_BRANCH@" 16#define GIT_COMMIT_HASH "@GIT_COMMIT_HASH@" 17 18#cmakedefine MULTILIB 19 20#ifndef __APPLE__ 21 22/* 23 * Credit: 24 * 25 * David Chisnall 26 * http://comments.gmane.org/gmane.comp.desktop.etoile.devel/1556 27 * 28 * */ 29 30#ifdef __block 31# undef __block 32# include <unistd.h> 33# define __block __attribute__((__blocks__(byref))) 34#else 35# include <unistd.h> 36#endif 37 38#include <stdint.h> 39 40#define __uint64_t uint64_t 41/* #define __darwin_natural_t long */ 42 43#endif 44 45#endif