Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
config-win32.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file config-win32.h
1
#if !defined(__ODBCXX_SETUP_H)
2
# error "Do not include this file directly. Use <RDBC/odbc++/setup.h> instead"
3
#endif
4
5
#define ODBCXX_HAVE_SQL_H
6
#define ODBCXX_HAVE_SQLEXT_H
7
8
#define ODBCXX_HAVE_CSTDIO
9
#define ODBCXX_HAVE_CSTDLIB
10
#define ODBCXX_HAVE_CSTRING
11
#define ODBCXX_HAVE_CTIME
12
#define ODBCXX_HAVE_IOSTREAM
13
#define ODBCXX_HAVE_STRSTREAM
14
#define ODBCXX_HAVE_SET
15
#define ODBCXX_HAVE_VECTOR
16
17
18
#define ODBCXX_ENABLE_THREADS
19
20
#if defined(_MSC_VER)
21
// MSVC has a rather compliant CXX lib
22
# define ODBCXX_HAVE_ISO_CXXLIB
23
24
# define ODBCXX_HAVE__ITOA
25
# define ODBCXX_HAVE__STRICMP
26
# define ODBCXX_HAVE__SNPRINTF
27
28
# define ODBCXX_HAVE__I64TOA
29
# define ODBCXX_HAVE__ATOI64
30
# define ODBCXX_HAVE__ATOI
31
32
// disable the 'identifier name truncated in debug info' warning
33
# pragma warning(disable:4786)
34
35
// disable the 'class blah blah should be exported' warning
36
// don't know if this is dangerous, but it only whines about templated
37
// and/or inlined classes and it really bothers me =)
38
# if defined(ODBCXX_DLL)
39
# pragma warning(disable:4251)
40
# endif
41
42
#endif // _MSC_VER
43
44
45
46
#if defined(__BORLANDC__)
47
48
// FIXME: this should check for older versions
49
# define ODBCXX_HAVE_ISO_CXXLIB
50
51
# if !defined(_RWSTD_NO_EX_SPEC)
52
# define _RWSTD_NO_EX_SPEC 1
53
# endif
54
// sql.h only defines this for msc, but borland has __int64 as well
55
# if !defined(ODBCINT64)
56
# define ODBCINT64 __int64
57
# endif
58
59
# define ODBCXX_HAVE_ITOA 1
60
# define ODBCXX_HAVE_STRICMP 1
61
62
#endif // __BORLANDC__
63
64
65
#if defined(__MINGW32__)
66
67
// the MS runtime has those
68
# if defined(__MSVCRT__)
69
# define ODBCXX_HAVE__I64TOA
70
# define ODBCXX_HAVE__ATOI64
71
# endif
72
73
#define ODBCXX_HAVE__ITOA
74
#define ODBCXX_HAVE__STRICMP
75
76
#define ODBCXX_HAVE__SNPRINTF
77
78
// same as with borland
79
# if !defined(ODBCINT64)
80
# define ODBCINT64 __int64
81
# endif
82
83
#endif // __MINGW32__
84
85
#define WIN32_LEAN_AND_MEAN
86
#include <windows.h>
RDBC
blob
master
include
RDBC
odbc++
config-win32.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:48
using
1.8.2 with
sPHENIX GitHub integration