6 #include "etl_profile.h"
10 # define ETL_NAMESPACE etl
14 #define ETL_DIRECTORY_SEPARATOR '\\'
16 #define ETL_DIRECTORY_SEPARATOR '/'
19 #ifndef ETL_FLAG_NONAMESPACE
20 # define _ETL ETL_NAMESPACE
21 # define _ETL_BEGIN_NAMESPACE namespace _ETL {
22 # define _ETL_END_NAMESPACE };
23 # define _STD_BEGIN_NAMESPACE namespace std {
24 # define _STD_END_NAMESPACE };
27 # define _ETL_BEGIN_NAMESPACE
28 # define _ETL_END_NAMESPACE
29 # define _STD_BEGIN_NAMESPACE
30 # define _STD_END_NAMESPACE
33 #define _ETL_BEGIN_CDECLS extern "C" {
34 #define _ETL_END_CDECLS }
37 #define ETL_REENTRANT 1
40 /* If __FUNC__ is not defined,
41 ** try to define it. If we cannot,
42 ** then just leave it undefined.
46 * # if defined __cplusplus ? __GNUC_PREREQ (2, 6) : __GNUC_PREREQ (2, 4)
47 # define __FUNC__ __PRETTY_FUNCTION__
49 # if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
50 # define __FUNC__ __func__
57 #define ETL_DEPRECATED_FUNCTION __attribute__ ((deprecated))
59 #define ETL_DEPRECATED_FUNCTION