- Main Page
- Related Pages
- Classes
- Files

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