X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=ETL%2Ftags%2FETL_0_04_10_rc3%2FETL%2Fetl_config.h;fp=ETL%2Ftags%2FETL_0_04_10_rc3%2FETL%2Fetl_config.h;h=9be9f008466e55f9d6cfd32d490dd92fabc68de2;hb=7a4d1b9ab079cc84ccfb4cf46f074c84b8caef2e;hp=0000000000000000000000000000000000000000;hpb=122d8294382e6363da0203ab321880418492a05d;p=synfig.git diff --git a/ETL/tags/ETL_0_04_10_rc3/ETL/etl_config.h b/ETL/tags/ETL_0_04_10_rc3/ETL/etl_config.h new file mode 100644 index 0000000..9be9f00 --- /dev/null +++ b/ETL/tags/ETL_0_04_10_rc3/ETL/etl_config.h @@ -0,0 +1,70 @@ + + +#ifndef __ETL_CONFIG_H +#define __ETL_CONFIG_H + +#include "etl_profile.h" +#include + +#ifndef ETL_NAMESPACE +# define ETL_NAMESPACE etl +#endif + +#if defined(WORDS_BIGENDIAN) && !defined(ETL_BIGENDIAN) +#define ETL_BIGENDIAN +#endif + +#ifdef WIN32 +#define ETL_DIRECTORY_SEPARATOR '\\' +#else +#define ETL_DIRECTORY_SEPARATOR '/' +#endif + +#ifndef ETL_FLAG_NONAMESPACE +# define _ETL ETL_NAMESPACE +# define _ETL_BEGIN_NAMESPACE namespace _ETL { +# define _ETL_END_NAMESPACE }; +# define _STD_BEGIN_NAMESPACE namespace std { +# define _STD_END_NAMESPACE }; +#else +# define _ETL +# define _ETL_BEGIN_NAMESPACE +# define _ETL_END_NAMESPACE +# define _STD_BEGIN_NAMESPACE +# define _STD_END_NAMESPACE +#endif + +#define _ETL_BEGIN_CDECLS extern "C" { +#define _ETL_END_CDECLS } + +#ifdef _REENTRANT +#define ETL_REENTRANT 1 +#endif + +/* If __FUNC__ is not defined, +** try to define it. If we cannot, +** then just leave it undefined. +*/ +#ifndef __FUNC__ +/* + * # if defined __cplusplus ? __GNUC_PREREQ (2, 6) : __GNUC_PREREQ (2, 4) +# define __FUNC__ __PRETTY_FUNCTION__ +# else +# if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L +# define __FUNC__ __func__ +# endif +# endif +*/ +#endif + +#ifdef __GNUG__ +#define ETL_DEPRECATED_FUNCTION __attribute__ ((deprecated)) +#else +#define ETL_DEPRECATED_FUNCTION +#endif + +#ifndef NULL +#define NULL 0 +#endif + +#endif