etl_config.h

Go to the documentation of this file.
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 /* If __FUNC__ is not defined,
00045 ** try to define it. If we cannot,
00046 ** then just leave it undefined.
00047 */
00048 #ifndef __FUNC__
00049 /*
00050  * # if defined __cplusplus ? __GNUC_PREREQ (2, 6) : __GNUC_PREREQ (2, 4)
00051 #   define __FUNC__ __PRETTY_FUNCTION__
00052 # else
00053 #  if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
00054 #   define __FUNC__ __func__
00055 #  endif
00056 # endif
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

Generated on Fri Nov 3 21:07:28 2006 for ETL by  doxygen 1.4.7