Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

/trees/alex/src/libodbc++/include/odbc++/config-win32.h

00001 #if !defined(__ODBCXX_SETUP_H)
00002 # error "Do not include this file directly. Use <odbc++/setup.h> instead"
00003 #endif
00004 
00005 #define ODBCXX_HAVE_SQL_H
00006 #define ODBCXX_HAVE_SQLEXT_H
00007 #define ODBCXX_HAVE_SQLUCODE_H
00008 
00009 #define ODBCXX_HAVE_CSTDIO
00010 #define ODBCXX_HAVE_CSTDLIB
00011 #define ODBCXX_HAVE_CSTRING
00012 #define ODBCXX_HAVE_CTIME
00013 #define ODBCXX_HAVE_IOSTREAM
00014 #define ODBCXX_HAVE_STRSTREAM
00015 #define ODBCXX_HAVE_SET
00016 #define ODBCXX_HAVE_VECTOR
00017 
00018 
00019 #define ODBCXX_ENABLE_THREADS
00020 
00021 #if defined(_MSC_VER)
00022 // MSVC has a rather compliant CXX lib
00023 # define ODBCXX_HAVE_ISO_CXXLIB
00024 
00025 # define ODBCXX_HAVE__ITOA
00026 # define ODBCXX_HAVE__STRICMP
00027 # define ODBCXX_HAVE__SNPRINTF
00028 
00029 # define ODBCXX_HAVE__I64TOA
00030 # define ODBCXX_HAVE__ATOI64
00031 # define ODBCXX_HAVE__ATOI
00032 
00033 // disable the 'identifier name truncated in debug info' warning
00034 # pragma warning(disable:4786)
00035 
00036 // disable the 'class blah blah should be exported' warning
00037 // don't know if this is dangerous, but it only whines about templated
00038 // and/or inlined classes and it really bothers me =)
00039 # if defined(ODBCXX_DLL)
00040 #  pragma warning(disable:4251)
00041 # endif
00042 
00043 # if _MSC_VER <= 1200
00044 #  define ODBCXX_NO_STD_TIME_T
00045 # endif
00046 
00047 #endif // _MSC_VER
00048 
00049 
00050 
00051 #if defined(__BORLANDC__)
00052 
00053 // FIXME: this should check for older versions
00054 # define ODBCXX_HAVE_ISO_CXXLIB
00055 
00056 # if !defined(_RWSTD_NO_EX_SPEC)
00057 #  define _RWSTD_NO_EX_SPEC 1
00058 # endif
00059 // sql.h only defines this for msc, but borland has __int64 as well
00060 # if !defined(ODBCINT64)
00061 #  define ODBCINT64 __int64
00062 # endif
00063 
00064 # define ODBCXX_HAVE_ITOA 1
00065 # define ODBCXX_HAVE_STRICMP 1
00066 
00067 #endif // __BORLANDC__
00068 
00069 
00070 #if defined(__MINGW32__)
00071 
00072 // the MS runtime has those
00073 # if defined(__MSVCRT__)
00074 #  define ODBCXX_HAVE__I64TOA
00075 #  define ODBCXX_HAVE__ATOI64
00076 # endif
00077 
00078 #define ODBCXX_HAVE__ITOA
00079 #define ODBCXX_HAVE__STRICMP
00080 
00081 #define ODBCXX_HAVE__SNPRINTF
00082 
00083 // same as with borland
00084 # if !defined(ODBCINT64)
00085 #  define ODBCINT64 __int64
00086 # endif
00087 
00088 #endif // __MINGW32__
00089 
00090 #define WIN32_LEAN_AND_MEAN
00091 #include <windows.h>

Go back to the freeodbc++ homepage