• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

spl/configwin32.h

00001 /*
00002  *   This file is part of the Standard Portable Library (SPL).
00003  *
00004  *   SPL is free software: you can redistribute it and/or modify
00005  *   it under the terms of the GNU General Public License as published by
00006  *   the Free Software Foundation, either version 3 of the License, or
00007  *   (at your option) any later version.
00008  *
00009  *   SPL is distributed in the hope that it will be useful,
00010  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  *   GNU General Public License for more details.
00013  *
00014  *   You should have received a copy of the GNU General Public License
00015  *   along with SPL.  If not, see <http://www.gnu.org/licenses/>.
00016  */
00017 #ifndef _config_win32_h
00018 #define _config_win32_h
00019 
00020 /********* FREETDS **************/
00021 /* Set to 1 if you have freetds */
00022 
00023 /*#define HAVE_SQLDB_H 1*/
00024 /*#define HAVE_SQLFRONT_H 1*/
00025 
00026 /********************************/
00027 
00028 
00029 /********* MYSQL **************/
00030 /* Set to 1 if you have mysql */
00031 
00032 /*#define HAVE_MYSQL_H 1*/
00033 
00034 /********************************/
00035 
00036 /*#define HAVE__ABS64 1*/
00037 
00038 /* Define to 1 if you have the <acs.h> header file. */
00039 /* #undef HAVE_ACS_H */
00040 
00041 /* Define to 1 if you have the `alarm' function. */
00042 #define HAVE_ALARM 1
00043 
00044 /* Define to 1 if you have the <arpa/inet.h> header file. */
00045 /*#define HAVE_ARPA_INET_H 1*/
00046 
00047 /* Define to 1 if you have the <assert.h> header file. */
00048 #define HAVE_ASSERT_H 1
00049 
00050 /* Define to 1 if you have the `bcopy' function. */
00051 /*#define HAVE_BCOPY 1*/
00052 
00053 /* Define to 1 if you have the <dlfcn.h> header file. */
00054 /*#define HAVE_DLFCN_H 1*/
00055 
00056 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
00057 /* #undef HAVE_DOPRNT */
00058 
00059 /* Define to 1 if you have the <errno.h> header file. */
00060 #define HAVE_ERRNO_H 1
00061 
00062 /* Define to 1 if you have the <fcntl.h> header file. */
00063 #define HAVE_FCNTL_H 1
00064 
00065 /* Define to 1 if you have the `gethostbyname' function. */
00066 #define HAVE_GETHOSTBYNAME 1
00067 
00068 /* Define to 1 if you have the <inttypes.h> header file. */
00069 /*#define HAVE_INTTYPES_H 1*/
00070 
00071 /* Define to 1 if you have the <io.h> header file. */
00072 #define HAVE_IO_H 1
00073 #define HAVE_DIRECT_H 1
00074 
00075 /* Define to 1 if you have the `c' library (-lc). */
00076 /* #undef HAVE_LIBC */
00077 
00078 /* Define to 1 if you have the `pthread' library (-lpthread). */
00079 /* #undef HAVE_LIBPTHREAD */
00080 
00081 /* Define to 1 if you have the `tds' library (-ltds). */
00082 /* #undef HAVE_LIBTDS */
00083 
00084 /* Define if freetds is compiled with msdblib */
00085 /* #undef HAVE_MSDBLIB */
00086 
00087 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
00088    to 0 otherwise. */
00089 #define HAVE_MALLOC 1
00090 
00091 /* Define to 1 if you have the `memmove' function. */
00092 #define HAVE_MEMMOVE 1
00093 
00094 /* Define to 1 if you have the <memory.h> header file. */
00095 #define HAVE_MEMORY_H 1
00096 
00097 /* Define to 1 if you have the `memset' function. */
00098 #define HAVE_MEMSET 1
00099 
00100 /* Define to 1 if you have the <netdb.h> header file. */
00101 /*#define HAVE_NETDB_H 1*/
00102 
00103 /* Define to 1 if you have the <netinet/in.h> header file. */
00104 /*#define HAVE_NETINET_IN_H 1*/
00105 
00106 /* Define to 1 if you have the <netinet/tcp.h> header file. */
00107 /*#define HAVE_NETINET_TCP_H 1*/
00108 
00109 /* Define to 1 if you have the <pthread.h> header file. */
00110 /*#define HAVE_PTHREAD_H 1*/
00111 
00112 /* Define to 1 if your system has a GNU libc compatible `realloc' function,
00113    and to 0 otherwise. */
00114 #define HAVE_REALLOC 1
00115 
00116 /* Define to 1 if you have the `select' function. */
00117 #define HAVE_SELECT 1
00118 
00119 /* Define to 1 if you have the `socket' function. */
00120 #define HAVE_SOCKET 1
00121 
00122 /* Define to 1 if you have the <socket.h> header file. */
00123 /* #undef HAVE_SOCKET_H */
00124 
00125 /* Define to 1 if you have the <spthread.h> header file. */
00126 /* #undef HAVE_SPTHREAD_H */
00127 
00128 /* Define to 1 if stdbool.h conforms to C99. */
00129 #define HAVE_STDBOOL_H 1
00130 
00131 /* Define to 1 if you have the <stdint.h> header file. */
00132 #define HAVE_STDINT_H 1
00133 
00134 /* Define to 1 if you have the <stdlib.h> header file. */
00135 #define HAVE_STDLIB_H 1
00136 
00137 /* Define to 1 if you have the `strdup' function. */
00138 #define HAVE_STRDUP 1
00139 
00140 /* Define to 1 if you have the `strerror' function. */
00141 #define HAVE_STRERROR 1
00142 
00143 /* Define to 1 if you have the <strings.h> header file. */
00144 /*#define HAVE_STRINGS_H 1*/
00145 
00146 /* Define to 1 if you have the <string.h> header file. */
00147 #define HAVE_STRING_H 1
00148 
00149 /* Define to 1 if you have the `strncasecmp' function. */
00150 #define HAVE_STRNCASECMP 1
00151 
00152 /* Define to 1 if you have the <sys/fcntl.h> header file. */
00153 /*#define HAVE_SYS_FCNTL_H 1*/
00154 
00155 /* Define to 1 if you have the <sys/ioctl.h> header file. */
00156 /*#define HAVE_SYS_IOCTL_H 1*/
00157 
00158 /* Define to 1 if you have the <sys/select.h> header file. */
00159 #define HAVE_SYS_SELECT_H 1
00160 
00161 /* Define to 1 if you have the <sys/socket.h> header file. */
00162 /*#define HAVE_SYS_SOCKET_H 1*/
00163 
00164 /* Define to 1 if you have the <sys/stat.h> header file. */
00165 #define HAVE_SYS_STAT_H 1
00166 
00167 /* Define to 1 if you have the <sys/time.h> header file. */
00168 /*#define HAVE_SYS_TIME_H 1*/
00169 
00170 /* Define to 1 if you have the <sys/types.h> header file. */
00171 #define HAVE_SYS_TYPES_H 1
00172 
00173 /* Define to 1 if you have the <termcap.h> header file. */
00174 #define HAVE_TERMCAP_H 1
00175 
00176 /* Define to 1 if you have the <time.h> header file. */
00177 #define HAVE_TIME_H 1
00178 
00179 /* Define to 1 if you have the <unistd.h> header file. */
00180 /*#define HAVE_UNISTD_H 1*/
00181 
00182 /* Define to 1 if you have the `vprintf' function. */
00183 #define HAVE_VPRINTF 1
00184 
00185 /* Define to 1 if you have the <wchar.h> header file. */
00186 #define HAVE_WCHAR_H 1
00187 
00188 #define HAVE_SYS_TYPES_H 1
00189 
00190 /* Define to 1 if the system has the type `_Bool'. */
00191 /*#define HAVE__BOOL 1*/
00192 
00193 /* Name of package */
00194 #define PACKAGE "libspl"
00195 
00196 /* Define to the address where bug reports for this package should be sent. */
00197 #define PACKAGE_BUGREPORT "http://sourceforge.net/projects/spl"
00198 
00199 /* Define to the full name of this package. */
00200 #define PACKAGE_NAME "SPL"
00201 
00202 /* Define to the full name and version of this package. */
00203 #define PACKAGE_STRING "Standard Portable Library"
00204 
00205 /* Define to the one symbol short name of this package. */
00206 #define PACKAGE_TARNAME "spl"
00207 
00208 /* Define to the version of this package. */
00209 #define PACKAGE_VERSION "0.4"
00210 
00211 /* Define to the type of arg 1 for `select'. */
00212 #define SELECT_TYPE_ARG1 int
00213 
00214 /* Define to the type of args 2, 3 and 4 for `select'. */
00215 #define SELECT_TYPE_ARG234 (fd_set *)
00216 
00217 /* Define to the type of arg 5 for `select'. */
00218 #define SELECT_TYPE_ARG5 (struct timeval *)
00219 
00220 /* Define to 1 if you have the ANSI C header files. */
00221 #define STDC_HEADERS 1
00222 
00223 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
00224 #define TIME_WITH_SYS_TIME 1
00225 
00226 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
00227 /* #undef TM_IN_SYS_TIME */
00228 
00229 /* Version number of package */
00230 /*#define VERSION "1.0"*/
00231 
00232 /* Define to empty if `const' does not conform to ANSI C. */
00233 /* #undef const */
00234 
00235 /* Define to `__inline__' or `__inline' if that's what the C compiler
00236    calls it, or to nothing if 'inline' is not supported under any name.  */
00237 #ifndef __cplusplus
00238 /* #undef inline */
00239 #endif
00240 
00241 /* Define to rpl_malloc if the replacement function should be used. */
00242 /* #undef malloc */
00243 
00244 /* Define to rpl_realloc if the replacement function should be used. */
00245 /* #undef realloc */
00246 
00247 /* Define to `unsigned' if <sys/types.h> does not define. */
00248 /* #undef size_t */
00249 
00250 /* Define to empty if the keyword `volatile' does not work. Warning: valid
00251    code using `volatile' can become incorrect without. Disable with care. */
00252 /* #undef volatile */
00253 
00254 #define socklen_t size_t
00255 
00256 #define HAVE_LIMITS_H
00257 #define HAVE_FLOAT_H
00258 
00259 /************* PCRE **************/
00260 
00261 /* By default, the \R escape sequence matches any Unicode line ending
00262    character or sequence of characters. If BSR_ANYCRLF is defined, this is
00263    changed so that backslash-R matches only CR, LF, or CRLF. The build- time
00264    default can be overridden by the user of PCRE at runtime. On systems that
00265    support it, "configure" can be used to override the default. */
00266 /* #undef BSR_ANYCRLF */
00267 
00268 /* If you are compiling for a system that uses EBCDIC instead of ASCII
00269    character codes, define this macro as 1. On systems that can use
00270    "configure", this can be done via --enable-ebcdic. */
00271 /* #undef EBCDIC */
00272 
00273 /* Define to 1 if you have the `bcopy' function. */
00274 #ifndef HAVE_BCOPY
00275 #define HAVE_BCOPY 1
00276 #endif
00277 
00278 /* Define to 1 if you have the <bits/type_traits.h> header file. */
00279 /* #undef HAVE_BITS_TYPE_TRAITS_H */
00280 
00281 /* Define to 1 if you have the <dlfcn.h> header file. */
00282 #ifndef HAVE_DLFCN_H
00283 #define HAVE_DLFCN_H 1
00284 #endif
00285 
00286 /* Define to 1 if you have the <inttypes.h> header file. */
00287 #ifndef HAVE_INTTYPES_H
00288 #define HAVE_INTTYPES_H 1
00289 #endif
00290 
00291 /* Define to 1 if you have the <limits.h> header file. */
00292 #ifndef HAVE_LIMITS_H
00293 #define HAVE_LIMITS_H 1
00294 #endif
00295 
00296 /* Define to 1 if the system has the type `long long'. */
00297 #ifndef HAVE_LONG_LONG
00298 #define HAVE_LONG_LONG 1
00299 #endif
00300 
00301 /* Define to 1 if you have the `memmove' function. */
00302 #ifndef HAVE_MEMMOVE
00303 #define HAVE_MEMMOVE 1
00304 #endif
00305 
00306 /* Define to 1 if you have the <memory.h> header file. */
00307 #ifndef HAVE_MEMORY_H
00308 #define HAVE_MEMORY_H 1
00309 #endif
00310 
00311 /* Define to 1 if you have the <stdint.h> header file. */
00312 #ifndef HAVE_STDINT_H
00313 #define HAVE_STDINT_H 1
00314 #endif
00315 
00316 /* Define to 1 if you have the <stdlib.h> header file. */
00317 #ifndef HAVE_STDLIB_H
00318 #define HAVE_STDLIB_H 1
00319 #endif
00320 
00321 /* Define to 1 if you have the `strerror' function. */
00322 #ifndef HAVE_STRERROR
00323 #define HAVE_STRERROR 1
00324 #endif
00325 
00326 /* Define to 1 if you have the <string> header file. */
00327 #ifndef HAVE_STRING
00328 #define HAVE_STRING 1
00329 #endif
00330 
00331 /* Define to 1 if you have the <strings.h> header file. */
00332 #ifndef HAVE_STRINGS_H
00333 #define HAVE_STRINGS_H 1
00334 #endif
00335 
00336 /* Define to 1 if you have the <string.h> header file. */
00337 #ifndef HAVE_STRING_H
00338 #define HAVE_STRING_H 1
00339 #endif
00340 
00341 /* Define to 1 if you have the `strtoll' function. */
00342 #ifndef HAVE_STRTOLL
00343 #define HAVE_STRTOLL 1
00344 #endif
00345 
00346 /* Define to 1 if you have the `strtoq' function. */
00347 #ifndef HAVE_STRTOQ
00348 #define HAVE_STRTOQ 1
00349 #endif
00350 
00351 /* Define to 1 if you have the <sys/stat.h> header file. */
00352 #ifndef HAVE_SYS_STAT_H
00353 #define HAVE_SYS_STAT_H 1
00354 #endif
00355 
00356 /* Define to 1 if you have the <sys/types.h> header file. */
00357 #ifndef HAVE_SYS_TYPES_H
00358 #define HAVE_SYS_TYPES_H 1
00359 #endif
00360 
00361 /* Define to 1 if you have the <type_traits.h> header file. */
00362 /* #undef HAVE_TYPE_TRAITS_H */
00363 
00364 /* Define to 1 if the system has the type `unsigned long long'. */
00365 #ifndef HAVE_UNSIGNED_LONG_LONG
00366 #define HAVE_UNSIGNED_LONG_LONG 1
00367 #endif
00368 
00369 /* Define to 1 if you have the <windows.h> header file. */
00370 #define HAVE_WINDOWS_H 1
00371 
00372 /* Define to 1 if you have the `_strtoi64' function. */
00373 #define HAVE__STRTOI64 1
00374 
00375 /* The value of LINK_SIZE determines the number of bytes used to store links
00376    as offsets within the compiled regex. The default is 2, which allows for
00377    compiled patterns up to 64K long. This covers the vast majority of cases.
00378    However, PCRE can also be compiled to use 3 or 4 bytes instead. This allows
00379    for longer patterns in extreme cases. On systems that support it,
00380    "configure" can be used to override this default. */
00381 #define LINK_SIZE 2
00382 
00383 /* The value of MATCH_LIMIT determines the default number of times the
00384    internal match() function can be called during a single execution of
00385    pcre_exec(). There is a runtime interface for setting a different limit.
00386    The limit exists in order to catch runaway regular expressions that take
00387    for ever to determine that they do not match. The default is set very large
00388    so that it does not accidentally catch legitimate cases. On systems that
00389    support it, "configure" can be used to override this default default. */
00390 #define MATCH_LIMIT 10000000
00391 
00392 /* The above limit applies to all calls of match(), whether or not they
00393    increase the recursion depth. In some environments it is desirable to limit
00394    the depth of recursive calls of match() more strictly, in order to restrict
00395    the maximum amount of stack (or heap, if NO_RECURSE is defined) that is
00396    used. The value of MATCH_LIMIT_RECURSION applies only to recursive calls of
00397    match(). To have any useful effect, it must be less than the value of
00398    MATCH_LIMIT. The default is to use the same value as MATCH_LIMIT. There is
00399    a runtime method for setting a different limit. On systems that support it,
00400    "configure" can be used to override the default. */
00401 #ifndef MATCH_LIMIT_RECURSION
00402 #define MATCH_LIMIT_RECURSION MATCH_LIMIT
00403 #endif
00404 
00405 /* This limit is parameterized just in case anybody ever wants to change it.
00406    Care must be taken if it is increased, because it guards against integer
00407    overflow caused by enormously large patterns. */
00408 #ifndef MAX_NAME_COUNT
00409 #define MAX_NAME_COUNT 10000
00410 #endif
00411 
00412 /* This limit is parameterized just in case anybody ever wants to change it.
00413    Care must be taken if it is increased, because it guards against integer
00414    overflow caused by enormously large patterns. */
00415 #ifndef MAX_NAME_SIZE
00416 #define MAX_NAME_SIZE 32
00417 #endif
00418 
00419 /* The value of NEWLINE determines the newline character sequence. On systems
00420    that support it, "configure" can be used to override the default, which is
00421    10. The possible values are 10 (LF), 13 (CR), 3338 (CRLF), -1 (ANY), or -2
00422    (ANYCRLF). */
00423 #ifndef NEWLINE
00424 #define NEWLINE 10
00425 #endif
00426 
00427 /* PCRE uses recursive function calls to handle backtracking while matching.
00428    This can sometimes be a problem on systems that have stacks of limited
00429    size. Define NO_RECURSE to get a version that doesn't use recursion in the
00430    match() function; instead it creates its own stack by steam using
00431    pcre_recurse_malloc() to obtain memory from the heap. For more detail, see
00432    the comments and other stuff just above the match() function. On systems
00433    that support it, "configure" can be used to set this in the Makefile (use
00434    --disable-stack-for-recursion). */
00435 /* #undef NO_RECURSE */
00436 
00437 /* If you are compiling for a system other than a Unix-like system or
00438    Win32, and it needs some magic to be inserted before the definition
00439    of a function that is exported by the library, define this macro to
00440    contain the relevant magic. If you do not define this macro, it
00441    defaults to "extern" for a C compiler and "extern C" for a C++
00442    compiler on non-Win32 systems. This macro apears at the start of
00443    every exported function that is part of the external API. It does
00444    not appear on functions that are "external" in the C sense, but
00445    which are internal to the library. */
00446 /* #undef PCRE_EXP_DEFN */
00447 
00448 /* Define if linking statically (TODO: make nice with Libtool) */
00449 /* #undef PCRE_STATIC */
00450 
00451 /* When calling PCRE via the POSIX interface, additional working storage is
00452    required for holding the pointers to capturing substrings because PCRE
00453    requires three integers per substring, whereas the POSIX interface provides
00454    only two. If the number of expected substrings is small, the wrapper
00455    function uses space on the stack, because this is faster than using
00456    malloc() for each call. The threshold above which the stack is no longer
00457    used is defined by POSIX_MALLOC_THRESHOLD. On systems that support it,
00458    "configure" can be used to override this default. */
00459 #ifndef POSIX_MALLOC_THRESHOLD
00460 #define POSIX_MALLOC_THRESHOLD 10
00461 #endif
00462 
00463 /* Define to 1 if you have the ANSI C header files. */
00464 #ifndef STDC_HEADERS
00465 #define STDC_HEADERS 1
00466 #endif
00467 
00468 /* Define to enable support for Unicode properties */
00469 /* #undef SUPPORT_UCP */
00470 
00471 /* Define to enable support for the UTF-8 Unicode encoding. */
00472 /* #undef SUPPORT_UTF8 */
00473 
00474 /* Version number of package */
00475 #ifndef VERSION
00476 #define VERSION "7.4"
00477 #endif
00478 
00479 #endif