00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef _ARAGELI_config_hpp_
00016 #define _ARAGELI_config_hpp_
00017
00023
00024 #define ARAGELI_VERSION "2.2.1"
00025
00026
00028
00032 #define ARAGELI_INCLUDE_CPP_WITH_EXPORT_TEMPLATE
00033
00034
00035
00036
00037
00038
00039
00041
00045 #ifndef ARAGELI_DEBUG_LEVEL
00046 #define ARAGELI_DEBUG_LEVEL 3
00047 #endif
00048
00049
00051 #define ARAGELI_ASSERT_THROW_EXCEPTION
00052
00053
00055 #define ARAGELI_IS_PRIME_SMALL_PRIMES_DIVISION_NUMBER 20
00056
00057
00058 #if defined(_MSC_VER) && defined(_WIN32)
00059 #define ARAGELI_INT64_SUPPORT
00060 #endif
00061
00062
00063
00064
00065
00066
00067
00068
00070
00071
00073
00074
00076
00077
00079
00080
00081 #if defined(ARAGELI_INT64_SUPPORT_ENABLE) && defined(ARAGELI_INT64_SUPPORT_DISABLE)
00082 #error Both macros ARAGELI_INT64_SUPPORT_DISABLE and \
00083 ARAGELI_INT64_SUPPORT_ENABLE are defined.
00084 #endif
00085
00086
00087 #if defined(ARAGELI_LONG_LONG_SUPPORT_ENABLE) && defined(ARAGELI_LONG_LONG_SUPPORT_DISABLE)
00088 #error Both macros ARAGELI_LONG_LONG_SUPPORT_DISABLE and \
00089 ARAGELI_LONG_LONG_SUPPORT_ENABLE are defined.
00090 #endif
00091
00092
00093 #ifdef ARAGELI_INT64_SUPPORT_ENABLE
00094 #define ARAGELI_INT64_SUPPORT
00095 #elif defined(ARAGELI_INT64_SUPPORT_DISABLE) && defined(ARAGELI_INT64_SUPPORT)
00096 #undef ARAGELI_INT64_SUPPORT
00097 #endif
00098
00099
00100 #ifdef ARAGELI_LONG_LONG_SUPPORT_ENABLE
00101 #define ARAGELI_LONG_LONG_SUPPORT
00102 #elif defined(ARAGELI_LONG_LONG_SUPPORT_DISABLE) && defined(ARAGELI_LONG_LONG_SUPPORT)
00103 #undef ARAGELI_LONG_LONG_SUPPORT
00104 #endif
00105
00106
00107 #define ARAGELI_DISABLE_PARTICULAR_COMPILER_WARNINGS
00108
00109
00110 #define ARAGELI_USE_AUTOLINK
00111
00112 #ifdef ARAGELI_USE_AUTOLINK_ENABLE
00113 #define ARAGELI_USE_AUTOLINK
00114 #elif defined(ARAGELI_USE_AUTOLINK_DISABLE) && defined(ARAGELI_USE_AUTOLINK)
00115 #undef ARAGELI_USE_AUTOLINK
00116 #endif
00117
00118
00119 #ifdef ARAGELI_USE_AUTOLINK
00120 #define ARAGELI_LIB_NAME arageli
00121 #include "auto_link.hpp"
00122 #endif
00123
00124
00125 #endif // #ifndef _ARAGELI_config_hpp_