00001
00002
00003 #ifndef __ETL_CONFIG_H
00004 #define __ETL_CONFIG_H
00005
00006 #include "etl_profile.h"
00007 #include <utility>
00008
00009 #ifndef ETL_NAMESPACE
00010 # define ETL_NAMESPACE etl
00011 #endif
00012
00013 #ifdef WIN32
00014 #define ETL_DIRECTORY_SEPARATOR '\\'
00015 #else
00016 #define ETL_DIRECTORY_SEPARATOR '/'
00017 #endif
00018
00019 #ifndef ETL_FLAG_NONAMESPACE
00020 # define _ETL ETL_NAMESPACE
00021 # define _ETL_BEGIN_NAMESPACE namespace _ETL {
00022 # define _ETL_END_NAMESPACE };
00023 # define _STD_BEGIN_NAMESPACE namespace std {
00024 # define _STD_END_NAMESPACE };
00025 #else
00026 # define _ETL
00027 # define _ETL_BEGIN_NAMESPACE
00028 # define _ETL_END_NAMESPACE
00029 # define _STD_BEGIN_NAMESPACE
00030 # define _STD_END_NAMESPACE
00031 #endif
00032
00033 #define _ETL_BEGIN_CDECLS extern "C" {
00034 #define _ETL_END_CDECLS }
00035
00036 #ifdef _REENTRANT
00037 #define ETL_REENTRANT 1
00038 #endif
00039
00040
00041
00042
00043
00044 #ifndef __FUNC__
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054 #endif
00055
00056 #ifdef __GNUG__
00057 #define ETL_DEPRECATED_FUNCTION __attribute__ ((deprecated))
00058 #else
00059 #define ETL_DEPRECATED_FUNCTION
00060 #endif
00061
00062 #ifndef NULL
00063 #define NULL 0
00064 #endif
00065
00066 #endif