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 #if defined(WORDS_BIGENDIAN) && !defined(ETL_BIGENDIAN)
00014 #define ETL_BIGENDIAN
00015 #endif
00016
00017 #ifdef WIN32
00018 #define ETL_DIRECTORY_SEPERATOR '\\'
00019 #else
00020 #define ETL_DIRECTORY_SEPERATOR '/'
00021 #endif
00022
00023 #ifndef ETL_FLAG_NONAMESPACE
00024 # define _ETL ETL_NAMESPACE
00025 # define _ETL_BEGIN_NAMESPACE namespace _ETL {
00026 # define _ETL_END_NAMESPACE };
00027 # define _STD_BEGIN_NAMESPACE namespace std {
00028 # define _STD_END_NAMESPACE };
00029 #else
00030 # define _ETL
00031 # define _ETL_BEGIN_NAMESPACE
00032 # define _ETL_END_NAMESPACE
00033 # define _STD_BEGIN_NAMESPACE
00034 # define _STD_END_NAMESPACE
00035 #endif
00036
00037 #define _ETL_BEGIN_CDECLS extern "C" {
00038 #define _ETL_END_CDECLS }
00039
00040 #ifdef _REENTRANT
00041 #define ETL_REENTRANT 1
00042 #endif
00043
00044
00045
00046
00047
00048 #ifndef __FUNC__
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058 #endif
00059
00060 #ifdef __GNUG__
00061 #define ETL_DEPRECATED_FUNCTION __attribute__ ((deprecated))
00062 #else
00063 #define ETL_DEPRECATED_FUNCTION
00064 #endif
00065
00066 #ifndef NULL
00067 #define NULL 0
00068 #endif
00069
00070 #endif