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/lib"
00065 #endif
00066 #ifndef BLOCXX_DEFAULT_LIBEXEC_DIR
00067 #define BLOCXX_DEFAULT_LIBEXEC_DIR "/usr/lib"
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
00163
00164
00165 #ifndef BLOCXX_ARCH_X86
00166 #define BLOCXX_ARCH_X86 1
00167 #endif
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
00355
00356
00357
00358
00359
00360
00361
00362
00363 #ifndef BLOCXX_HAVE_PTHREAD_H
00364 #define BLOCXX_HAVE_PTHREAD_H 1
00365 #endif
00366
00367
00368
00369
00370
00371 #ifndef BLOCXX_HAVE_PWD_H
00372 #define BLOCXX_HAVE_PWD_H 1
00373 #endif
00374
00375
00376 #ifndef BLOCXX_HAVE_RANDOM
00377 #define BLOCXX_HAVE_RANDOM 1
00378 #endif
00379
00380
00381 #ifndef BLOCXX_HAVE_REGEX
00382 #define BLOCXX_HAVE_REGEX 1
00383 #endif
00384
00385
00386 #ifndef BLOCXX_HAVE_REGEX_H
00387 #define BLOCXX_HAVE_REGEX_H 1
00388 #endif
00389
00390
00391 #ifndef BLOCXX_HAVE_SCHED_YIELD
00392 #define BLOCXX_HAVE_SCHED_YIELD 1
00393 #endif
00394
00395
00396 #ifndef BLOCXX_HAVE_SETRLIMIT
00397 #define BLOCXX_HAVE_SETRLIMIT 1
00398 #endif
00399
00400
00401 #ifndef BLOCXX_HAVE_SIGHANDLER_T
00402 #define BLOCXX_HAVE_SIGHANDLER_T 1
00403 #endif
00404
00405
00406 #ifndef BLOCXX_HAVE_SIGINFO_T_SI_FD
00407 #define BLOCXX_HAVE_SIGINFO_T_SI_FD 1
00408 #endif
00409
00410
00411
00412
00413
00414
00415
00416
00417
00418
00419
00420 #ifndef BLOCXX_HAVE_SIGVAL_TYPE_SIVAL_INT
00421 #define BLOCXX_HAVE_SIGVAL_TYPE_SIVAL_INT 1
00422 #endif
00423
00424
00425 #ifndef BLOCXX_HAVE_SNPRINTF
00426 #define BLOCXX_HAVE_SNPRINTF 1
00427 #endif
00428
00429
00430 #ifndef BLOCXX_HAVE_SRANDOM
00431 #define BLOCXX_HAVE_SRANDOM 1
00432 #endif
00433
00434
00435 #ifndef BLOCXX_HAVE_STDINT_H
00436 #define BLOCXX_HAVE_STDINT_H 1
00437 #endif
00438
00439
00440 #ifndef BLOCXX_HAVE_STDLIB_H
00441 #define BLOCXX_HAVE_STDLIB_H 1
00442 #endif
00443
00444
00445 #ifndef BLOCXX_HAVE_STREAMBUF
00446 #define BLOCXX_HAVE_STREAMBUF 1
00447 #endif
00448
00449
00450 #ifndef BLOCXX_HAVE_STREAMBUF_H
00451 #define BLOCXX_HAVE_STREAMBUF_H 1
00452 #endif
00453
00454
00455 #ifndef BLOCXX_HAVE_STRERROR
00456 #define BLOCXX_HAVE_STRERROR 1
00457 #endif
00458
00459
00460 #ifndef BLOCXX_HAVE_STRINGS_H
00461 #define BLOCXX_HAVE_STRINGS_H 1
00462 #endif
00463
00464
00465 #ifndef BLOCXX_HAVE_STRING_H
00466 #define BLOCXX_HAVE_STRING_H 1
00467 #endif
00468
00469
00470 #ifndef BLOCXX_HAVE_STROPTS_H
00471 #define BLOCXX_HAVE_STROPTS_H 1
00472 #endif
00473
00474
00475 #ifndef BLOCXX_HAVE_STRSIGNAL
00476 #define BLOCXX_HAVE_STRSIGNAL 1
00477 #endif
00478
00479
00480 #ifndef BLOCXX_HAVE_STRTOF
00481 #define BLOCXX_HAVE_STRTOF 1
00482 #endif
00483
00484
00485 #ifndef BLOCXX_HAVE_STRTOLL
00486 #define BLOCXX_HAVE_STRTOLL 1
00487 #endif
00488
00489
00490 #ifndef BLOCXX_HAVE_STRTOULL
00491 #define BLOCXX_HAVE_STRTOULL 1
00492 #endif
00493
00494
00495
00496
00497
00498
00499
00500
00501 #ifndef BLOCXX_HAVE_STRUCT_STAT_ST_BLKSIZE
00502 #define BLOCXX_HAVE_STRUCT_STAT_ST_BLKSIZE 1
00503 #endif
00504
00505
00506
00507 #ifndef BLOCXX_HAVE_ST_BLKSIZE
00508 #define BLOCXX_HAVE_ST_BLKSIZE 1
00509 #endif
00510
00511
00512 #ifndef BLOCXX_HAVE_SYS_CDEFS_H
00513 #define BLOCXX_HAVE_SYS_CDEFS_H 1
00514 #endif
00515
00516
00517 #ifndef BLOCXX_HAVE_SYS_EPOLL_H
00518 #define BLOCXX_HAVE_SYS_EPOLL_H 1
00519 #endif
00520
00521
00522 #ifndef BLOCXX_HAVE_SYS_FILE_H
00523 #define BLOCXX_HAVE_SYS_FILE_H 1
00524 #endif
00525
00526
00527
00528
00529
00530 #ifndef BLOCXX_HAVE_SYS_IPC_H
00531 #define BLOCXX_HAVE_SYS_IPC_H 1
00532 #endif
00533
00534
00535 #ifndef BLOCXX_HAVE_SYS_PARAM_H
00536 #define BLOCXX_HAVE_SYS_PARAM_H 1
00537 #endif
00538
00539
00540 #ifndef BLOCXX_HAVE_SYS_POLL_H
00541 #define BLOCXX_HAVE_SYS_POLL_H 1
00542 #endif
00543
00544
00545 #ifndef BLOCXX_HAVE_SYS_QUEUE_H
00546 #define BLOCXX_HAVE_SYS_QUEUE_H 1
00547 #endif
00548
00549
00550 #ifndef BLOCXX_HAVE_SYS_RESOURCE_H
00551 #define BLOCXX_HAVE_SYS_RESOURCE_H 1
00552 #endif
00553
00554
00555 #ifndef BLOCXX_HAVE_SYS_SELECT_H
00556 #define BLOCXX_HAVE_SYS_SELECT_H 1
00557 #endif
00558
00559
00560 #ifndef BLOCXX_HAVE_SYS_SEM_H
00561 #define BLOCXX_HAVE_SYS_SEM_H 1
00562 #endif
00563
00564
00565 #ifndef BLOCXX_HAVE_SYS_SOCKET_H
00566 #define BLOCXX_HAVE_SYS_SOCKET_H 1
00567 #endif
00568
00569
00570
00571
00572
00573 #ifndef BLOCXX_HAVE_SYS_STAT_H
00574 #define BLOCXX_HAVE_SYS_STAT_H 1
00575 #endif
00576
00577
00578 #ifndef BLOCXX_HAVE_SYS_TIME_H
00579 #define BLOCXX_HAVE_SYS_TIME_H 1
00580 #endif
00581
00582
00583 #ifndef BLOCXX_HAVE_SYS_TYPES_H
00584 #define BLOCXX_HAVE_SYS_TYPES_H 1
00585 #endif
00586
00587
00588 #ifndef BLOCXX_HAVE_SYS_UN_H
00589 #define BLOCXX_HAVE_SYS_UN_H 1
00590 #endif
00591
00592
00593 #ifndef BLOCXX_HAVE_SYS_WAIT_H
00594 #define BLOCXX_HAVE_SYS_WAIT_H 1
00595 #endif
00596
00597
00598 #ifndef BLOCXX_HAVE_TIMEGM
00599 #define BLOCXX_HAVE_TIMEGM 1
00600 #endif
00601
00602
00603 #ifndef BLOCXX_HAVE_UNION_SIGVAL
00604 #define BLOCXX_HAVE_UNION_SIGVAL 1
00605 #endif
00606
00607
00608
00609
00610
00611 #ifndef BLOCXX_HAVE_UNISTD_H
00612 #define BLOCXX_HAVE_UNISTD_H 1
00613 #endif
00614
00615
00616 #ifndef BLOCXX_HAVE_UUPRETTY_FUNCTIONUU
00617 #define BLOCXX_HAVE_UUPRETTY_FUNCTIONUU 1
00618 #endif
00619
00620
00621 #ifndef BLOCXX_HAVE_VPRINTF
00622 #define BLOCXX_HAVE_VPRINTF 1
00623 #endif
00624
00625
00626
00627
00628
00629 #ifndef BLOCXX_INTTYPES_H_DOES_NOT_DEFINE_PRI
00630 #define BLOCXX_INTTYPES_H_DOES_NOT_DEFINE_PRI 1
00631 #endif
00632
00633
00634 #ifndef BLOCXX_LIBRARY_VERSION
00635 #define BLOCXX_LIBRARY_VERSION 4
00636 #endif
00637
00638
00639 #ifndef BLOCXX_MAJOR_VERSION
00640 #define BLOCXX_MAJOR_VERSION 1
00641 #endif
00642
00643
00644 #ifndef BLOCXX_MICRO_VERSION
00645 #define BLOCXX_MICRO_VERSION 0
00646 #endif
00647
00648
00649 #ifndef BLOCXX_MINOR_VERSION
00650 #define BLOCXX_MINOR_VERSION 0
00651 #endif
00652
00653
00654
00655
00656
00657 #ifndef BLOCXX_PACKAGE
00658 #define BLOCXX_PACKAGE "blocxx"
00659 #endif
00660
00661
00662 #ifndef BLOCXX_PACKAGE_BUGREPORT
00663 #define BLOCXX_PACKAGE_BUGREPORT "bwhiteley@novell.com"
00664 #endif
00665
00666
00667 #ifndef BLOCXX_PACKAGE_NAME
00668 #define BLOCXX_PACKAGE_NAME "BloCxx"
00669 #endif
00670
00671
00672 #ifndef BLOCXX_PACKAGE_STRING
00673 #define BLOCXX_PACKAGE_STRING "BloCxx 1.0.0"
00674 #endif
00675
00676
00677 #ifndef BLOCXX_PACKAGE_TARNAME
00678 #define BLOCXX_PACKAGE_TARNAME "blocxx"
00679 #endif
00680
00681
00682 #ifndef BLOCXX_PACKAGE_VERSION
00683 #define BLOCXX_PACKAGE_VERSION "1.0.0"
00684 #endif
00685
00686
00687 #ifndef BLOCXX_SIGVAL_TYPE
00688 #define BLOCXX_SIGVAL_TYPE union sigval
00689 #endif
00690
00691
00692 #ifndef BLOCXX_SIZEOF_CHAR
00693 #define BLOCXX_SIZEOF_CHAR 1
00694 #endif
00695
00696
00697 #ifndef BLOCXX_SIZEOF_CHAR_P
00698 #define BLOCXX_SIZEOF_CHAR_P 4
00699 #endif
00700
00701
00702 #ifndef BLOCXX_SIZEOF_DOUBLE
00703 #define BLOCXX_SIZEOF_DOUBLE 8
00704 #endif
00705
00706
00707 #ifndef BLOCXX_SIZEOF_FLOAT
00708 #define BLOCXX_SIZEOF_FLOAT 4
00709 #endif
00710
00711
00712 #ifndef BLOCXX_SIZEOF_INT
00713 #define BLOCXX_SIZEOF_INT 4
00714 #endif
00715
00716
00717 #ifndef BLOCXX_SIZEOF_LONG_DOUBLE
00718 #define BLOCXX_SIZEOF_LONG_DOUBLE 12
00719 #endif
00720
00721
00722 #ifndef BLOCXX_SIZEOF_LONG_INT
00723 #define BLOCXX_SIZEOF_LONG_INT 4
00724 #endif
00725
00726
00727 #ifndef BLOCXX_SIZEOF_LONG_LONG_INT
00728 #define BLOCXX_SIZEOF_LONG_LONG_INT 8
00729 #endif
00730
00731
00732 #ifndef BLOCXX_SIZEOF_PTHREAD_T
00733 #define BLOCXX_SIZEOF_PTHREAD_T 4
00734 #endif
00735
00736
00737 #ifndef BLOCXX_SIZEOF_SHORT_INT
00738 #define BLOCXX_SIZEOF_SHORT_INT 2
00739 #endif
00740
00741
00742
00743
00744
00745 #ifndef BLOCXX_STDC_HEADERS
00746 #define BLOCXX_STDC_HEADERS 1
00747 #endif
00748
00749
00750 #ifndef BLOCXX_TRUE_PATHNAME
00751 #define BLOCXX_TRUE_PATHNAME "/bin/true"
00752 #endif
00753
00754
00755
00756
00757
00758 #ifndef BLOCXX_VERSION
00759 #define BLOCXX_VERSION "1.0.0"
00760 #endif
00761
00762
00763 #ifndef BLOCXX_WIFEXITED_NEEDS_WAIT_H
00764 #define BLOCXX_WIFEXITED_NEEDS_WAIT_H 1
00765 #endif
00766
00767
00768
00769
00770
00771 #ifndef BLOCXX_WITH_LARGEFILE
00772 #define BLOCXX_WITH_LARGEFILE 1
00773 #endif
00774
00775
00776
00777
00778
00779
00780
00781 #ifndef BLOCXX_YYTEXT_POINTER
00782 #define BLOCXX_YYTEXT_POINTER 1
00783 #endif
00784
00785
00786 #ifndef BLOCXX__FILE_OFFSET_BITS
00787 #define BLOCXX__FILE_OFFSET_BITS 64
00788 #endif
00789
00790
00791
00792
00793
00794
00795
00796
00797
00798
00799
00800
00801
00802
00803
00804
00805
00806
00807
00808
00809
00813 #if defined(BLOCXX__FILE_OFFSET_BITS) && \
00814 !defined(_FILE_OFFSET_BITS)
00815 #define \
00816 _FILE_OFFSET_BITS BLOCXX__FILE_OFFSET_BITS
00817 #endif
00818
00819 #if defined(BLOCXX__LARGE_FILES) && \
00820 !defined(_LARGE_FILES)
00821 #define \
00822 _LARGE_FILES BLOCXX__LARGE_FILES
00823 #endif
00824
00825
00857 #if __GNUC__ - 0 > 3 || (__GNUC__ - 0 == 3 && __GNUC_MINOR__ - 0 >= 2)
00858 #ifndef BLOCXX_DEPRECATED
00859 #define BLOCXX_DEPRECATED __attribute__ ((deprecated))
00860 #endif
00861 #else
00862 #ifndef BLOCXX_DEPRECATED
00863 #define BLOCXX_DEPRECATED
00864 #endif
00865 #endif
00866
00867 #ifdef BLOCXX_WIN32
00868 #ifndef BLOCXX_EXPORT
00869 #define BLOCXX_EXPORT __declspec(dllexport)
00870 #endif
00871 #ifndef BLOCXX_IMPORT
00872 #define BLOCXX_IMPORT __declspec(dllimport)
00873 #endif
00874 #else
00875 #ifndef BLOCXX_EXPORT
00876 #define BLOCXX_EXPORT
00877 #endif
00878 #ifndef BLOCXX_IMPORT
00879 #define BLOCXX_IMPORT
00880 #endif
00881 #endif
00882
00883 #ifdef BLOCXX_COMMON_BUILD
00884 #ifndef BLOCXX_COMMON_API
00885 #define BLOCXX_COMMON_API BLOCXX_EXPORT
00886 #endif
00887 #else
00888 #ifndef BLOCXX_COMMON_API
00889 #define BLOCXX_COMMON_API BLOCXX_IMPORT
00890 #endif
00891 #endif
00892
00893 #ifdef BLOCXX_WIN32
00894 #ifndef BLOCXX_EXPORT_TEMPLATE
00895 #define BLOCXX_EXPORT_TEMPLATE(API, TMPL, X) template class API TMPL< X >
00896 #endif
00897 #else
00898 #ifndef BLOCXX_EXPORT_TEMPLATE
00899 #define BLOCXX_EXPORT_TEMPLATE(API, TMPL, X)
00900 #endif
00901 #endif
00902
00903
00904 #ifdef __cplusplus
00905
00906
00907 #ifndef BLOCXX_NAMESPACE_CAT
00908 #define BLOCXX_NAMESPACE_CAT(blocxx, ver) blocxx ## ver
00909 #endif
00910 #ifndef BLOCXX_NAMESPACE_AUX
00911 #define BLOCXX_NAMESPACE_AUX(ver) BLOCXX_NAMESPACE_CAT(blocxx, ver)
00912 #endif
00913 #ifndef BLOCXX_NAMESPACE
00914 #define BLOCXX_NAMESPACE BLOCXX_NAMESPACE_AUX(BLOCXX_LIBRARY_VERSION)
00915 #endif
00916
00917
00918 namespace BLOCXX_NAMESPACE
00919 {
00920 }
00921
00922 namespace blocxx = BLOCXX_NAMESPACE;
00923
00924 #ifdef BLOCXX_DEBUG_MEMORY
00925 #include "blocxx/MemTracer.hpp"
00926 #endif
00927
00928
00929 #ifdef BLOCXX_PRINT_FUNC_DEBUG
00930 #include "blocxx/FuncNamePrinter.hpp"
00931
00932 #ifndef BLOCXX_PRINT_FUNC_NAME
00933 #define BLOCXX_PRINT_FUNC_NAME BLOCXX_FuncNamePrinter fnp##__LINE__ (__PRETTY_FUNCTION__)
00934 #endif
00935
00936 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS1
00937 #define BLOCXX_PRINT_FUNC_NAME_ARGS1(a) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a)
00938 #endif
00939 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS2
00940 #define BLOCXX_PRINT_FUNC_NAME_ARGS2(a, b) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b)
00941 #endif
00942 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS3
00943 #define BLOCXX_PRINT_FUNC_NAME_ARGS3(a, b, c) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b, c)
00944 #endif
00945 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS4
00946 #define BLOCXX_PRINT_FUNC_NAME_ARGS4(a, b, c, d) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b, c, d)
00947 #endif
00948 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS5
00949 #define BLOCXX_PRINT_FUNC_NAME_ARGS5(a, b, c, d, e) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b, c, d, e)
00950 #endif
00951 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS6
00952 #define BLOCXX_PRINT_FUNC_NAME_ARGS6(a, b, c, d, e, f) BLOCXX_FuncNamePrinter fnp##__LINE__ ( __PRETTY_FUNCTION__ , a, b, c, d, e, f)
00953 #endif
00954 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS7
00955 #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)
00956 #endif
00957 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS8
00958 #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)
00959 #endif
00960 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS9
00961 #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)
00962 #endif
00963 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS10
00964 #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)
00965 #endif
00966 #else
00967 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS1
00968 #define BLOCXX_PRINT_FUNC_NAME_ARGS1(a)
00969 #endif
00970 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS2
00971 #define BLOCXX_PRINT_FUNC_NAME_ARGS2(a, b)
00972 #endif
00973 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS3
00974 #define BLOCXX_PRINT_FUNC_NAME_ARGS3(a, b, c)
00975 #endif
00976 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS4
00977 #define BLOCXX_PRINT_FUNC_NAME_ARGS4(a, b, c, d)
00978 #endif
00979 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS5
00980 #define BLOCXX_PRINT_FUNC_NAME_ARGS5(a, b, c, d, e)
00981 #endif
00982 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS6
00983 #define BLOCXX_PRINT_FUNC_NAME_ARGS6(a, b, c, d, e, f)
00984 #endif
00985 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS7
00986 #define BLOCXX_PRINT_FUNC_NAME_ARGS7(a, b, c, d, e, f, g)
00987 #endif
00988 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS8
00989 #define BLOCXX_PRINT_FUNC_NAME_ARGS8(a, b, c, d, e, f, g, h)
00990 #endif
00991 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS9
00992 #define BLOCXX_PRINT_FUNC_NAME_ARGS9(a, b, c, d, e, f, g, h, i)
00993 #endif
00994 #ifndef BLOCXX_PRINT_FUNC_NAME_ARGS10
00995 #define BLOCXX_PRINT_FUNC_NAME_ARGS10(a, b, c, d, e, f, g, h, i, j)
00996 #endif
00997 #ifndef BLOCXX_PRINT_FUNC_NAME
00998 #define BLOCXX_PRINT_FUNC_NAME
00999 #endif
01000 #endif
01001
01002 #endif
01003
01004
01005
01006 #endif