00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00029 #ifndef APU_H
00030 #define APU_H
00031
00045 #if defined(DOXYGEN) || !defined(WIN32)
00046
00053 #define APU_DECLARE(type) type
00054
00060 #define APU_DECLARE_NONSTD(type) type
00061
00069 #define APU_DECLARE_DATA
00070 #elif defined(APU_DECLARE_STATIC)
00071 #define APU_DECLARE(type) type __stdcall
00072 #define APU_DECLARE_NONSTD(type) type __cdecl
00073 #define APU_DECLARE_DATA
00074 #elif defined(APU_DECLARE_EXPORT)
00075 #define APU_DECLARE(type) __declspec(dllexport) type __stdcall
00076 #define APU_DECLARE_NONSTD(type) __declspec(dllexport) type __cdecl
00077 #define APU_DECLARE_DATA __declspec(dllexport)
00078 #else
00079 #define APU_DECLARE(type) __declspec(dllimport) type __stdcall
00080 #define APU_DECLARE_NONSTD(type) __declspec(dllimport) type __cdecl
00081 #define APU_DECLARE_DATA __declspec(dllimport)
00082 #endif
00083
00084 #if !defined(WIN32) || defined(APU_MODULE_DECLARE_STATIC)
00085
00094 #define APU_MODULE_DECLARE_DATA
00095 #else
00096 #define APU_MODULE_DECLARE_DATA __declspec(dllexport)
00097 #endif
00098
00099
00100
00101
00102 #define APU_HAVE_SDBM 1
00103
00104 #ifndef APU_DSO_MODULE_BUILD
00105 #define APU_HAVE_GDBM 0
00106 #define APU_HAVE_NDBM 0
00107 #define APU_HAVE_DB 0
00108
00109 #if APU_HAVE_DB
00110 #define APU_HAVE_DB_VERSION 0
00111 #endif
00112 #endif
00113
00114
00115
00116
00117
00118 #ifndef APU_DSO_MODULE_BUILD
00119 #define APU_HAVE_PGSQL 0
00120 #define APU_HAVE_MYSQL 0
00121 #define APU_HAVE_SQLITE3 0
00122 #define APU_HAVE_SQLITE2 0
00123 #define APU_HAVE_ORACLE 0
00124 #define APU_HAVE_FREETDS 0
00125 #define APU_HAVE_ODBC 1
00126 #endif
00127
00128 #define APU_HAVE_APR_ICONV 1
00129 #define APU_HAVE_ICONV 0
00130 #define APR_HAS_XLATE (APU_HAVE_APR_ICONV || APU_HAVE_ICONV)
00131
00132 #endif
00133