00001 #ifndef ___SRC_BLOCXX_BLOCXX_CONFIG_H
00002 #define ___SRC_BLOCXX_BLOCXX_CONFIG_H 1
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00045
00046
00047
00048
00049
00050
00051
00052 #ifndef BLOCXX_NO_SSL
00053 #define BLOCXX_NO_SSL 1
00054 #endif
00055
00056
00057 #ifndef BLOCXX_DEFAULT_SYSCONF_DIR
00058 #define BLOCXX_DEFAULT_SYSCONF_DIR "/etc"
00059 #endif
00060 #ifndef BLOCXX_DEFAULT_STATE_DIR
00061 #define BLOCXX_DEFAULT_STATE_DIR "/var"
00062 #endif
00063 #ifndef BLOCXX_DEFAULT_LIB_DIR
00064 #define BLOCXX_DEFAULT_LIB_DIR "/usr/lib64"
00065 #endif
00066 #ifndef BLOCXX_DEFAULT_LIBEXEC_DIR
00067 #define BLOCXX_DEFAULT_LIBEXEC_DIR "/usr/libexec"
00068 #endif
00069
00070
00071 #ifndef BLOCXX_PACKAGE_PREFIX
00072 #define BLOCXX_PACKAGE_PREFIX ""
00073 #endif
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085 #ifndef BLOCXX_USE_PTHREAD
00086 #define BLOCXX_USE_PTHREAD 1
00087 #endif
00088
00089
00090
00091
00092
00093
00094
00095
00096 #ifndef BLOCXX_CHECK_NULL_REFERENCES
00097 #define BLOCXX_CHECK_NULL_REFERENCES 1
00098 #endif
00099
00100
00101 #ifndef BLOCXX_CHECK_ARRAY_INDEXING
00102 #define BLOCXX_CHECK_ARRAY_INDEXING 1
00103 #endif
00104
00105
00106 #ifndef BLOCXX_GNU_LINUX
00107 #define BLOCXX_GNU_LINUX 1
00108 #endif
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119 #ifndef BLOCXX_HAVE_SOCKLEN_T
00120 #define BLOCXX_HAVE_SOCKLEN_T 1
00121 #endif
00122
00123 #ifndef BLOCXX_HAVE_PTHREAD_MUTEXATTR_SETTYPE
00124 #define BLOCXX_HAVE_PTHREAD_MUTEXATTR_SETTYPE 1
00125 #endif
00126 #ifndef BLOCXX_HAVE_PTHREAD_SPIN_LOCK
00127 #define BLOCXX_HAVE_PTHREAD_SPIN_LOCK 1
00128 #endif
00129 #ifndef BLOCXX_HAVE_PTHREAD_BARRIER
00130 #define BLOCXX_HAVE_PTHREAD_BARRIER 1
00131 #endif
00132
00133
00134 #ifndef BLOCXX_USE_DL
00135 #define BLOCXX_USE_DL 1
00136 #endif
00137
00138
00139
00140
00141
00142
00143
00144
00145
00146
00147
00148
00149
00150
00151
00152
00153
00154
00155
00156
00157
00158
00159
00160
00161
00162 #ifndef BLOCXX_ARCH_UNKNOWN
00163 #define BLOCXX_ARCH_UNKNOWN 1
00164 #endif
00165
00166
00167
00168
00169
00170
00171
00172
00173 #ifndef BLOCXX_FALSE_PATHNAME
00174 #define BLOCXX_FALSE_PATHNAME "/bin/false"
00175 #endif
00176
00177
00178 #ifndef BLOCXX_GETHOSTBYNAME_R_ARGUMENTS
00179 #define BLOCXX_GETHOSTBYNAME_R_ARGUMENTS 6
00180 #endif
00181
00182
00183
00184
00185
00186 #ifndef BLOCXX_HAVE_ALLOCA_H
00187 #define BLOCXX_HAVE_ALLOCA_H 1
00188 #endif
00189
00190
00191 #ifndef BLOCXX_HAVE_ASCTIME_R
00192 #define BLOCXX_HAVE_ASCTIME_R 1
00193 #endif
00194
00195
00196 #ifndef BLOCXX_HAVE_BACKTRACE
00197 #define BLOCXX_HAVE_BACKTRACE 1
00198 #endif
00199
00200
00201 #ifndef BLOCXX_HAVE_BYTESWAP_H
00202 #define BLOCXX_HAVE_BYTESWAP_H 1
00203 #endif
00204
00205
00206 #ifndef BLOCXX_HAVE_C99_UUFUNCUU
00207 #define BLOCXX_HAVE_C99_UUFUNCUU 1
00208 #endif
00209
00210
00211 #ifndef BLOCXX_HAVE_CXXABI_H
00212 #define BLOCXX_HAVE_CXXABI_H 1
00213 #endif
00214
00215
00216
00217 #ifndef BLOCXX_HAVE_DECL_SYS_SIGLIST
00218 #define BLOCXX_HAVE_DECL_SYS_SIGLIST 1
00219 #endif
00220
00221
00222 #ifndef BLOCXX_HAVE_DIRENT_H
00223 #define BLOCXX_HAVE_DIRENT_H 1
00224 #endif
00225
00226
00227
00228
00229
00230
00231
00232
00233 #ifndef BLOCXX_HAVE_EXT_HASH_MAP
00234 #define BLOCXX_HAVE_EXT_HASH_MAP 1
00235 #endif
00236
00237
00238 #ifndef BLOCXX_HAVE_FCNTL_H
00239 #define BLOCXX_HAVE_FCNTL_H 1
00240 #endif
00241
00242
00243 #ifndef BLOCXX_HAVE_GETHOSTBYNAME_R
00244 #define BLOCXX_HAVE_GETHOSTBYNAME_R 1
00245 #endif
00246
00247
00248 #ifndef BLOCXX_HAVE_GETOPT_H
00249 #define BLOCXX_HAVE_GETOPT_H 1
00250 #endif
00251
00252
00253 #ifndef BLOCXX_HAVE_GETOPT_LONG
00254 #define BLOCXX_HAVE_GETOPT_LONG 1
00255 #endif
00256
00257
00258 #ifndef BLOCXX_HAVE_GETPAGESIZE
00259 #define BLOCXX_HAVE_GETPAGESIZE 1
00260 #endif
00261
00262
00263 #ifndef BLOCXX_HAVE_GETPWNAM_R
00264 #define BLOCXX_HAVE_GETPWNAM_R 1
00265 #endif
00266
00267
00268 #ifndef BLOCXX_HAVE_GETPWUID_R
00269 #define BLOCXX_HAVE_GETPWUID_R 1
00270 #endif
00271
00272
00273 #ifndef BLOCXX_HAVE_GETTIMEOFDAY
00274 #define BLOCXX_HAVE_GETTIMEOFDAY 1
00275 #endif
00276
00277
00278 #ifndef BLOCXX_HAVE_GMTIME_R
00279 #define BLOCXX_HAVE_GMTIME_R 1
00280 #endif
00281
00282
00283
00284
00285
00286 #ifndef BLOCXX_HAVE_ICONV_H
00287 #define BLOCXX_HAVE_ICONV_H 1
00288 #endif
00289
00290
00291 #ifndef BLOCXX_HAVE_INTTYPES_H
00292 #define BLOCXX_HAVE_INTTYPES_H 1
00293 #endif
00294
00295
00296 #ifndef BLOCXX_HAVE_ISTREAM
00297 #define BLOCXX_HAVE_ISTREAM 1
00298 #endif
00299
00300
00301 #ifndef BLOCXX_HAVE_ISTREAM_H
00302 #define BLOCXX_HAVE_ISTREAM_H 1
00303 #endif
00304
00305
00306 #ifndef BLOCXX_HAVE_LIMITS_H
00307 #define BLOCXX_HAVE_LIMITS_H 1
00308 #endif
00309
00310
00311 #ifndef BLOCXX_HAVE_LOCALTIME_R
00312 #define BLOCXX_HAVE_LOCALTIME_R 1
00313 #endif
00314
00315
00316 #ifndef BLOCXX_HAVE_MEMORY_H
00317 #define BLOCXX_HAVE_MEMORY_H 1
00318 #endif
00319
00320
00321 #ifndef BLOCXX_HAVE_MKSTEMP
00322 #define BLOCXX_HAVE_MKSTEMP 1
00323 #endif
00324
00325
00326 #ifndef BLOCXX_HAVE_MMAP
00327 #define BLOCXX_HAVE_MMAP 1
00328 #endif
00329
00330
00331 #ifndef BLOCXX_HAVE_NANOSLEEP
00332 #define BLOCXX_HAVE_NANOSLEEP 1
00333 #endif
00334
00335
00336 #ifndef BLOCXX_HAVE_NETINET_IN_H
00337 #define BLOCXX_HAVE_NETINET_IN_H 1
00338 #endif
00339
00340
00341
00342
00343
00344 #ifndef BLOCXX_HAVE_OSTREAM
00345 #define BLOCXX_HAVE_OSTREAM 1
00346 #endif
00347
00348
00349 #ifndef BLOCXX_HAVE_OSTREAM_H
00350 #define BLOCXX_HAVE_OSTREAM_H 1
00351 #endif
00352
00353
00354 #ifndef BLOCXX_HAVE_PCRE
00355 #define BLOCXX_HAVE_PCRE 1
00356 #endif
00357
00358
00359 #ifndef BLOCXX_HAVE_PCRE_H
00360 #define BLOCXX_HAVE_PCRE_H 1
00361 #endif
00362
00363
00364
00365
00366
00367 #ifndef BLOCXX_HAVE_PTHREAD_H
00368 #define BLOCXX_HAVE_PTHREAD_H 1
00369 #endif
00370
00371
00372 #ifndef BLOCXX_HAVE_PTHREAD_KILL_OTHER_THREADS_NP
00373 #define BLOCXX_HAVE_PTHREAD_KILL_OTHER_THREADS_NP 1
00374 #endif
00375
00376
00377 #ifndef BLOCXX_HAVE_PWD_H
00378 #define BLOCXX_HAVE_PWD_H 1
00379 #endif
00380
00381
00382 #ifndef BLOCXX_HAVE_RANDOM
00383 #define BLOCXX_HAVE_RANDOM 1
00384 #endif
00385
00386
00387 #ifndef BLOCXX_HAVE_REGEX
00388 #define BLOCXX_HAVE_REGEX 1
00389 #endif
00390
00391
00392 #ifndef BLOCXX_HAVE_REGEX_H
00393 #define BLOCXX_HAVE_REGEX_H 1
00394 #endif
00395
00396
00397 #ifndef BLOCXX_HAVE_SCHED_YIELD
00398 #define BLOCXX_HAVE_SCHED_YIELD 1
00399 #endif
00400
00401
00402 #ifndef BLOCXX_HAVE_SETRLIMIT
00403 #define BLOCXX_HAVE_SETRLIMIT 1
00404 #endif
00405
00406
00407 #ifndef BLOCXX_HAVE_SIGHANDLER_T
00408 #define BLOCXX_HAVE_SIGHANDLER_T 1
00409 #endif
00410
00411
00412 #ifndef BLOCXX_HAVE_SIGINFO_T_SI_FD
00413 #define BLOCXX_HAVE_SIGINFO_T_SI_FD 1
00414 #endif
00415
00416
00417
00418
00419
00420
00421
00422
00423
00424
00425
00426 #ifndef BLOCXX_HAVE_SIGVAL_TYPE_SIVAL_INT
00427 #define BLOCXX_HAVE_SIGVAL_TYPE_SIVAL_INT 1
00428 #endif
00429
00430
00431 #ifndef BLOCXX_HAVE_SNPRINTF
00432 #define BLOCXX_HAVE_SNPRINTF 1
00433 #endif
00434
00435
00436 #ifndef BLOCXX_HAVE_SRANDOM
00437 #define BLOCXX_HAVE_SRANDOM 1
00438 #endif
00439
00440
00441 #ifndef BLOCXX_HAVE_STDINT_H
00442 #define BLOCXX_HAVE_STDINT_H 1
00443 #endif
00444
00445
00446 #ifndef BLOCXX_HAVE_STDLIB_H
00447 #define BLOCXX_HAVE_STDLIB_H 1
00448 #endif
00449
00450
00451 #ifndef BLOCXX_HAVE_STREAMBUF
00452 #define BLOCXX_HAVE_STREAMBUF 1
00453 #endif
00454
00455
00456 #ifndef BLOCXX_HAVE_STREAMBUF_H
00457 #define BLOCXX_HAVE_STREAMBUF_H 1
00458 #endif
00459
00460
00461 #ifndef BLOCXX_HAVE_STRERROR
00462 #define BLOCXX_HAVE_STRERROR 1
00463 #endif
00464
00465
00466 #ifndef BLOCXX_HAVE_STRINGS_H
00467 #define BLOCXX_HAVE_STRINGS_H 1
00468 #endif
00469
00470
00471 #ifndef BLOCXX_HAVE_STRING_H
00472 #define BLOCXX_HAVE_STRING_H 1
00473 #endif
00474
00475
00476 #ifndef BLOCXX_HAVE_STROPTS_H
00477 #define BLOCXX_HAVE_STROPTS_H 1
00478 #endif
00479
00480
00481 #ifndef BLOCXX_HAVE_STRSIGNAL
00482 #define BLOCXX_HAVE_STRSIGNAL 1
00483 #endif
00484
00485
00486 #ifndef BLOCXX_HAVE_STRTOF
00487 #define BLOCXX_HAVE_STRTOF 1
00488 #endif
00489
00490
00491 #ifndef BLOCXX_HAVE_STRTOLL
00492 #define BLOCXX_HAVE_STRTOLL 1
00493 #endif
00494
00495
00496 #ifndef BLOCXX_HAVE_STRTOULL
00497 #define BLOCXX_HAVE_STRTOULL 1
00498 #endif
00499
00500
00501
00502
00503
00504
00505
00506
00507 #ifndef BLOCXX_HAVE_STRUCT_STAT_ST_BLKSIZE
00508 #define BLOCXX_HAVE_STRUCT_STAT_ST_BLKSIZE 1
00509 #endif
00510
00511
00512
00513 #ifndef BLOCXX_HAVE_ST_BLKSIZE
00514 #define BLOCXX_HAVE_ST_BLKSIZE 1
00515 #endif
00516
00517
00518 #ifndef BLOCXX_HAVE_SYS_CDEFS_H
00519 #define BLOCXX_HAVE_SYS_CDEFS_H 1
00520 #endif
00521
00522
00523 #ifndef BLOCXX_HAVE_SYS_EPOLL_H
00524 #define BLOCXX_HAVE_SYS_EPOLL_H 1
00525 #endif
00526
00527
00528 #ifndef BLOCXX_HAVE_SYS_FILE_H
00529 #define BLOCXX_HAVE_SYS_FILE_H 1
00530 #endif
00531
00532
00533
00534
00535
00536 #ifndef BLOCXX_HAVE_SYS_IPC_H
00537 #define BLOCXX_HAVE_SYS_IPC_H 1
00538 #endif
00539
00540
00541 #ifndef BLOCXX_HAVE_SYS_PARAM_H
00542 #define BLOCXX_HAVE_SYS_PARAM_H 1
00543 #endif
00544
00545
00546 #ifndef BLOCXX_HAVE_SYS_POLL_H
00547 #define BLOCXX_HAVE_SYS_POLL_H 1
00548 #endif
00549
00550
00551 #ifndef BLOCXX_HAVE_SYS_QUEUE_H
00552 #define BLOCXX_HAVE_SYS_QUEUE_H 1
00553 #endif
00554
00555
00556 #ifndef BLOCXX_HAVE_SYS_RESOURCE_H
00557 #define BLOCXX_HAVE_SYS_RESOURCE_H 1
00558 #endif
00559
00560
00561 #ifndef BLOCXX_HAVE_SYS_SELECT_H
00562 #define BLOCXX_HAVE_SYS_SELECT_H 1
00563 #endif
00564
00565
00566 #ifndef BLOCXX_HAVE_SYS_SEM_H
00567 #define BLOCXX_HAVE_SYS_SEM_H 1
00568 #endif
00569
00570
00571 #ifndef BLOCXX_HAVE_SYS_SOCKET_H
00572 #define BLOCXX_HAVE_SYS_SOCKET_H 1
00573 #endif
00574
00575
00576
00577
00578
00579 #ifndef BLOCXX_HAVE_SYS_STAT_H
00580 #define BLOCXX_HAVE_SYS_STAT_H 1
00581 #endif
00582
00583
00584 #ifndef BLOCXX_HAVE_SYS_TIME_H
00585 #define BLOCXX_HAVE_SYS_TIME_H 1
00586 #endif
00587
00588
00589 #ifndef BLOCXX_HAVE_SYS_TYPES_H
00590 #define BLOCXX_HAVE_SYS_TYPES_H 1
00591 #endif
00592
00593
00594 #ifndef BLOCXX_HAVE_SYS_UN_H
00595 #define BLOCXX_HAVE_SYS_UN_H 1
00596 #endif
00597
00598
00599 #ifndef BLOCXX_HAVE_SYS_WAIT_H
00600 #define BLOCXX_HAVE_SYS_WAIT_H 1
00601 #endif
00602
00603
00604 #ifndef BLOCXX_HAVE_TIMEGM
00605 #define BLOCXX_HAVE_TIMEGM 1
00606 #endif
00607
00608
00609 #ifndef BLOCXX_HAVE_UNION_SIGVAL
00610 #define BLOCXX_HAVE_UNION_SIGVAL 1
00611 #endif
00612
00613
00614
00615
00616
00617 #ifndef BLOCXX_HAVE_UNISTD_H
00618 #define BLOCXX_HAVE_UNISTD_H 1
00619 #endif
00620
00621
00622 #ifndef BLOCXX_HAVE_UUPRETTY_FUNCTIONUU
00623 #define BLOCXX_HAVE_UUPRETTY_FUNCTIONUU 1
00624 #endif
00625
00626
00627 #ifndef BLOCXX_HAVE_VPRINTF
00628 #define BLOCXX_HAVE_VPRINTF 1
00629 #endif
00630
00631
00632
00633
00634
00635 #ifndef BLOCXX_INTTYPES_H_DOES_NOT_DEFINE_PRI
00636 #define BLOCXX_INTTYPES_H_DOES_NOT_DEFINE_PRI 1
00637 #endif
00638
00639
00640 #ifndef BLOCXX_LIBRARY_VERSION
00641 #define BLOCXX_LIBRARY_VERSION 4
00642 #endif
00643
00644
00645 #ifndef BLOCXX_MAJOR_VERSION
00646 #define BLOCXX_MAJOR_VERSION 0
00647 #endif
00648
00649
00650 #ifndef BLOCXX_MICRO_VERSION
00651 #define BLOCXX_MICRO_VERSION 1
00652 #endif
00653
00654
00655 #ifndef BLOCXX_MINOR_VERSION
00656 #define BLOCXX_MINOR_VERSION 9
00657 #endif
00658
00659
00660
00661
00662
00663 #ifndef BLOCXX_PACKAGE
00664 #define BLOCXX_PACKAGE "blocxx"
00665 #endif
00666
00667
00668 #ifndef BLOCXX_PACKAGE_BUGREPORT
00669 #define BLOCXX_PACKAGE_BUGREPORT "bwhiteley@novell.com"
00670 #endif
00671
00672
00673 #ifndef BLOCXX_PACKAGE_NAME
00674 #define BLOCXX_PACKAGE_NAME "BloCxx"
00675 #endif
00676
00677
00678 #ifndef BLOCXX_PACKAGE_STRING
00679 #define BLOCXX_PACKAGE_STRING "BloCxx 0.9.1"
00680 #endif
00681
00682
00683 #ifndef BLOCXX_PACKAGE_TARNAME
00684 #define BLOCXX_PACKAGE_TARNAME "blocxx"
00685 #endif
00686
00687
00688 #ifndef BLOCXX_PACKAGE_VERSION
00689 #define BLOCXX_PACKAGE_VERSION "0.9.1"
00690 #endif
00691
00692
00693 #ifndef BLOCXX_SIGVAL_TYPE
00694 #define BLOCXX_SIGVAL_TYPE union sigval
00695 #endif
00696
00697
00698 #ifndef BLOCXX_SIZEOF_CHAR
00699 #define BLOCXX_SIZEOF_CHAR 1
00700 #endif
00701
00702
00703 #ifndef BLOCXX_SIZEOF_CHAR_P
00704 #define BLOCXX_SIZEOF_CHAR_P 8
00705 #endif
00706
00707
00708 #ifndef BLOCXX_SIZEOF_DOUBLE
00709 #define BLOCXX_SIZEOF_DOUBLE 8
00710 #endif
00711
00712
00713 #ifndef BLOCXX_SIZEOF_FLOAT
00714 #define BLOCXX_SIZEOF_FLOAT 4
00715 #endif
00716
00717
00718 #ifndef BLOCXX_SIZEOF_INT
00719 #define BLOCXX_SIZEOF_INT 4
00720 #endif
00721
00722
00723 #ifndef BLOCXX_SIZEOF_LONG_DOUBLE
00724 #define BLOCXX_SIZEOF_LONG_DOUBLE 16
00725 #endif
00726
00727
00728 #ifndef BLOCXX_SIZEOF_LONG_INT
00729 #define BLOCXX_SIZEOF_LONG_INT 8
00730 #endif
00731
00732
00733 #ifndef BLOCXX_SIZEOF_LONG_LONG_INT
00734 #define BLOCXX_SIZEOF_LONG_LONG_INT 8
00735 #endif
00736
00737
00738 #ifndef BLOCXX_SIZEOF_PTHREAD_T
00739 #define BLOCXX_SIZEOF_PTHREAD_T 8
00740 #endif
00741
00742
00743 #ifndef BLOCXX_SIZEOF_SHORT_INT
00744 #define BLOCXX_SIZEOF_SHORT_INT 2
00745 #endif
00746
00747
00748
00749
00750
00751 #ifndef BLOCXX_STDC_HEADERS
00752 #define BLOCXX_STDC_HEADERS 1
00753 #endif
00754
00755
00756 #ifndef BLOCXX_TRUE_PATHNAME
00757 #define BLOCXX_TRUE_PATHNAME "/bin/true"
00758 #endif
00759
00760
00761
00762
00763
00764 #ifndef BLOCXX_VERSION
00765 #define BLOCXX_VERSION "0.9.1"
00766 #endif
00767
00768
00769 #ifndef BLOCXX_WIFEXITED_NEEDS_WAIT_H
00770 #define BLOCXX_WIFEXITED_NEEDS_WAIT_H 1
00771 #endif
00772
00773
00774
00775
00776
00777 #ifndef BLOCXX_WITH_LARGEFILE
00778 #define BLOCXX_WITH_LARGEFILE 1
00779 #endif
00780
00781
00782
00783
00784
00785
00786
00787 #ifndef BLOCXX_YYTEXT_POINTER
00788 #define BLOCXX_YYTEXT_POINTER 1
00789 #endif
00790
00791
00792
00793
00794
00795
00796
00797
00798
00799
00800
00801
00802
00803
00804
00805
00806
00807
00808
00809
00810
00811
00812
00813
00817 #if defined(BLOCXX__FILE_OFFSET_BITS) && \
00818 !defined(_FILE_OFFSET_BITS)
00819 #define \
00820 _FILE_OFFSET_BITS BLOCXX__FILE_OFFSET_BITS
00821 #endif
00822
00823 #if defined(BLOCXX__LARGE_FILES) && \
00824 !defined(_LARGE_FILES)
00825 #define \
00826 _LARGE_FILES BLOCXX__LARGE_FILES
00827 #endif
00828
00829
00861 #if __GNUC__ - 0 > 3 || (__GNUC__ - 0 == 3 && __GNUC_MINOR__ - 0 >= 2)
00862 #ifndef BLOCXX_DEPRECATED
00863 #define BLOCXX_DEPRECATED __attribute__ ((deprecated))
00864 #endif
00865 #else
00866 #ifndef BLOCXX_DEPRECATED
00867 #define BLOCXX_DEPRECATED
00868 #endif
00869 #endif
00870
00871 #ifdef BLOCXX_WIN32
00872 #ifndef BLOCXX_EXPORT
00873 #define BLOCXX_EXPORT __declspec(dllexport)
00874 #endif
00875 #ifndef BLOCXX_IMPORT
00876 #define BLOCXX_IMPORT __declspec(dllimport)
00877 #endif
00878 #else
00879 #ifndef BLOCXX_EXPORT
00880 #define BLOCXX_EXPORT
00881 #endif
00882 #ifndef BLOCXX_IMPORT
00883 #define BLOCXX_IMPORT
00884 #endif
00885 #endif
00886
00887 #ifdef BLOCXX_COMMON_BUILD
00888 #ifndef BLOCXX_COMMON_API
00889 #define BLOCXX_COMMON_API BLOCXX_EXPORT
00890 #endif
00891 #else
00892 #ifndef BLOCXX_COMMON_API
00893 #define BLOCXX_COMMON_API BLOCXX_IMPORT
00894 #endif
00895 #endif
00896
00897 #ifdef BLOCXX_WIN32
00898 #ifndef BLOCXX_EXPORT_TEMPLATE
00899 #define BLOCXX_EXPORT_TEMPLATE(API, TMPL, X) template class API TMPL< X >
00900 #endif
00901 #else
00902 #ifndef BLOCXX_EXPORT_TEMPLATE
00903 #define BLOCXX_EXPORT_TEMPLATE(API, TMPL, X)
00904 #endif
00905 #endif
00906
00907
00908 #ifdef __cplusplus
00909
00910
00911 #ifndef BLOCXX_NAMESPACE_CAT
00912 #define BLOCXX_NAMESPACE_CAT(blocxx, ver) blocxx ## ver
00913 #endif
00914 #ifndef BLOCXX_NAMESPACE_AUX
00915 #define BLOCXX_NAMESPACE_AUX(ver) BLOCXX_NAMESPACE_CAT(blocxx, ver)
00916 #endif
00917 #ifndef BLOCXX_NAMESPACE
00918 #define BLOCXX_NAMESPACE BLOCXX_NAMESPACE_AUX(BLOCXX_LIBRARY_VERSION)
00919 #endif
00920
00921
00922 namespace BLOCXX_NAMESPACE
00923 {
00924 }
00925
00926 namespace blocxx = BLOCXX_NAMESPACE;
00927
00928 #ifdef BLOCXX_DEBUG_MEMORY
00929 #include "blocxx/MemTracer.hpp"
00930 #endif
00931
00932
00933 #ifdef BLOCXX_PRINT_FUNC_DEBUG
00934 #include "blocxx/FuncNamePrinter.hpp"
00935
00936 #ifndef BLOCXX_PRINT_FUNC_NAME
00937 #define BLOCXX_PRINT_FUNC_NAME BLOCXX_FuncNamePrinter fnp##__LINE__ (__PRETTY_FUNCTION__)
00938 #endif
00939
00940 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS1
00941 #define BLOCXX_PRINT_FUNC_NAME_ARGS1(a) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a)
00942 #endif
00943 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS2
00944 #define BLOCXX_PRINT_FUNC_NAME_ARGS2(a, b) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b)
00945 #endif
00946 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS3
00947 #define BLOCXX_PRINT_FUNC_NAME_ARGS3(a, b, c) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b, c)
00948 #endif
00949 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS4
00950 #define BLOCXX_PRINT_FUNC_NAME_ARGS4(a, b, c, d) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b, c, d)
00951 #endif
00952 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS5
00953 #define BLOCXX_PRINT_FUNC_NAME_ARGS5(a, b, c, d, e) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b, c, d, e)
00954 #endif
00955 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS6
00956 #define BLOCXX_PRINT_FUNC_NAME_ARGS6(a, b, c, d, e, f) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b, c, d, e, f)
00957 #endif
00958 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS7
00959 #define BLOCXX_PRINT_FUNC_NAME_ARGS7(a, b, c, d, e, f, g) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b, c, d, e, f, g)
00960 #endif
00961 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS8
00962 #define BLOCXX_PRINT_FUNC_NAME_ARGS8(a, b, c, d, e, f, g, h) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b, c, d, e, f, g, h)
00963 #endif
00964 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS9
00965 #define BLOCXX_PRINT_FUNC_NAME_ARGS9(a, b, c, d, e, f, g, h, i) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b, c, d, e, f, g, h, i)
00966 #endif
00967 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS10
00968 #define BLOCXX_PRINT_FUNC_NAME_ARGS10(a, b, c, d, e, f, g, h, i, j) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b, c, d, e, f, g, h, i, j)
00969 #endif
00970 #else
00971 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS1
00972 #define BLOCXX_PRINT_FUNC_NAME_ARGS1(a)
00973 #endif
00974 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS2
00975 #define BLOCXX_PRINT_FUNC_NAME_ARGS2(a, b)
00976 #endif
00977 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS3
00978 #define BLOCXX_PRINT_FUNC_NAME_ARGS3(a, b, c)
00979 #endif
00980 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS4
00981 #define BLOCXX_PRINT_FUNC_NAME_ARGS4(a, b, c, d)
00982 #endif
00983 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS5
00984 #define BLOCXX_PRINT_FUNC_NAME_ARGS5(a, b, c, d, e)
00985 #endif
00986 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS6
00987 #define BLOCXX_PRINT_FUNC_NAME_ARGS6(a, b, c, d, e, f)
00988 #endif
00989 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS7
00990 #define BLOCXX_PRINT_FUNC_NAME_ARGS7(a, b, c, d, e, f, g)
00991 #endif
00992 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS8
00993 #define BLOCXX_PRINT_FUNC_NAME_ARGS8(a, b, c, d, e, f, g, h)
00994 #endif
00995 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS9
00996 #define BLOCXX_PRINT_FUNC_NAME_ARGS9(a, b, c, d, e, f, g, h, i)
00997 #endif
00998 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS10
00999 #define BLOCXX_PRINT_FUNC_NAME_ARGS10(a, b, c, d, e, f, g, h, i, j)
01000 #endif
01001 #ifndef BLOCXX_PRINT_FUNC_NAME
01002 #define BLOCXX_PRINT_FUNC_NAME
01003 #endif
01004 #endif
01005
01006 #endif
01007
01008
01009
01010 #endif