mirror of
https://github.com/darlinghq/darling.git
synced 2024-11-23 12:19:43 +00:00
30 lines
526 B
C
30 lines
526 B
C
#ifndef CONFIG_H
|
|
#define CONFIG_H
|
|
|
|
#define LIB_PATH "${CMAKE_INSTALL_PREFIX}/lib/darling"
|
|
#define INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}"
|
|
|
|
/*
|
|
* Credit:
|
|
*
|
|
* David Chisnall
|
|
* http://comments.gmane.org/gmane.comp.desktop.etoile.devel/1556
|
|
*
|
|
* */
|
|
|
|
#ifdef __block
|
|
# undef __block
|
|
# include <unistd.h>
|
|
# define __block __attribute__((__blocks__(byref)))
|
|
#else
|
|
# include <unistd.h>
|
|
#endif
|
|
|
|
#include <stdint.h>
|
|
|
|
#define __uint64_t uint64_t
|
|
/* #define __darwin_natural_t long */
|
|
|
|
|
|
#endif
|