darling/config.h.in
2012-08-13 23:26:33 +02:00

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