tds_config.h
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:3k
- /*
- * ===========================================================================
- * PRODUCTION $Log: tds_config.h,v $
- * PRODUCTION Revision 1000.1 2004/04/21 14:47:16 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [CATCHUP_003] Dev-tree R1.1
- * PRODUCTION
- * ===========================================================================
- */
- /* $Id: tds_config.h,v 1000.1 2004/04/21 14:47:16 gouriano Exp $
- *
- * FreeTDS 0.60 (TDS ver. 8.0) config file.
- *
- * NOTE: Instead of being generated by the FreeTDS's own configure script,
- * it just uses the NCBI C++ Toolkit config file <ncbiconf.h>.
- */
- #ifndef DBAPI_DRIVER_FTDS8_FREETDS___FTDS_CONFIG__H
- #define DBAPI_DRIVER_FTDS8_FREETDS___FTDS_CONFIG__H
- #define NCBI_FTDS 8
- #define TDS80 1
- #define FREETDS_SYSCONFDIR "/etc"
- #define FREETDS_SYSCONFFILE "/etc/freetds.conf"
- #define FREETDS_POOLCONFFILE "/etc/pool.conf"
- #define FREETDS_LOCALECONFFILE "/etc/locales.conf"
- #include <ncbiconf.h>
- #if defined(HAVE_GETHOSTBYADDR_R)
- # if HAVE_GETHOSTBYADDR_R == 5
- # define HAVE_FUNC_GETHOSTBYADDR_R_5 1
- # elif HAVE_GETHOSTBYADDR_R == 7
- # define HAVE_FUNC_GETHOSTBYADDR_R_7 1
- # elif HAVE_GETHOSTBYADDR_R == 8
- # define HAVE_FUNC_GETHOSTBYADDR_R_8 1
- # else
- # error "Unexpected number of arguments detected for gethostbyaddr_r()"
- # endif
- #endif
- #if defined(HAVE_GETHOSTBYNAME_R)
- # if HAVE_GETHOSTBYNAME_R == 3
- # define HAVE_FUNC_GETHOSTBYNAME_R_3 1
- # elif HAVE_GETHOSTBYNAME_R == 5
- # define HAVE_FUNC_GETHOSTBYNAME_R_5 1
- # elif HAVE_GETHOSTBYNAME_R == 6
- # define HAVE_FUNC_GETHOSTBYNAME_R_6 1
- # else
- # error "Unexpected number of arguments detected for gethostbyname_r()"
- # endif
- #endif
- #if defined(HAVE_GETSERVBYNAME_R)
- # if HAVE_GETSERVBYNAME_R == 4
- # define HAVE_FUNC_GETSERVBYNAME_R_4 1
- # elif HAVE_GETSERVBYNAME_R == 5
- # define HAVE_FUNC_GETSERVBYNAME_R_5 1
- # elif HAVE_GETSERVBYNAME_R == 6
- # define HAVE_FUNC_GETSERVBYNAME_R_6 1
- # else
- # error "Unexpected number of arguments detected for getservbyname_r()"
- # endif
- #endif
- #if defined(HAVE_LIBICONV)
- # define HAVE_ICONV 1
- #endif
- #if defined(SIZEOF_LONG_LONG)
- # if SIZEOF_LONG_LONG == 8
- # define HAVE_INT64 1
- # endif
- #endif
- /*
- * ===========================================================================
- * $Log: tds_config.h,v $
- * Revision 1000.1 2004/04/21 14:47:16 gouriano
- * PRODUCTION: UPGRADED [CATCHUP_003] Dev-tree R1.1
- *
- * Revision 1.1 2003/02/18 07:53:11 vakatov
- * Initial revision
- * (Replaces generated version -- as the latter is actually platform- and
- * theoretically compiler- and compilation-mode- dependent
- * and therefore should not be here.)
- *
- * ===========================================================================
- */
- #endif /* DBAPI_DRIVER_FTDS8_FREETDS___FTDS_CONFIG__H */