6 #include "etl_profile.h"
10 # define ETL_NAMESPACE etl
13 #if defined(WORDS_BIGENDIAN) && !defined(ETL_BIGENDIAN)
18 #define ETL_DIRECTORY_SEPARATOR '\\'
20 #define ETL_DIRECTORY_SEPARATOR '/'
23 #ifndef ETL_FLAG_NONAMESPACE
24 # define _ETL ETL_NAMESPACE
25 # define _ETL_BEGIN_NAMESPACE namespace _ETL {
26 # define _ETL_END_NAMESPACE };
27 # define _STD_BEGIN_NAMESPACE namespace std {
28 # define _STD_END_NAMESPACE };
31 # define _ETL_BEGIN_NAMESPACE
32 # define _ETL_END_NAMESPACE
33 # define _STD_BEGIN_NAMESPACE
34 # define _STD_END_NAMESPACE
37 #define _ETL_BEGIN_CDECLS extern "C" {
38 #define _ETL_END_CDECLS }
41 #define ETL_REENTRANT 1
44 /* If __FUNC__ is not defined,
45 ** try to define it. If we cannot,
46 ** then just leave it undefined.
50 * # if defined __cplusplus ? __GNUC_PREREQ (2, 6) : __GNUC_PREREQ (2, 4)
51 # define __FUNC__ __PRETTY_FUNCTION__
53 # if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
54 # define __FUNC__ __func__
61 #define ETL_DEPRECATED_FUNCTION __attribute__ ((deprecated))
63 #define ETL_DEPRECATED_FUNCTION