blob: 0cc99ed54b5fb216324f3f500c388820627f0afa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/* file : libcommon/common/config-vc.h
* copyright : Copyright (c) 2009-2019 Code Synthesis Tools CC
* license : GNU GPL v2; see accompanying LICENSE file
*/
/* Configuration file for Windows/VC++. */
#ifndef LIBCOMMON_COMMON_CONFIG_VC_H
#define LIBCOMMON_COMMON_CONFIG_VC_H
#define HAVE_TR1_MEMORY
/* VC++10 and later has C++11 always enabled.
*/
#if (defined(_MSC_VER) && _MSC_VER >= 1600) || \
(defined(ODB_MSC_VER) && ODB_MSC_VER >= 1600)
# define HAVE_CXX11
// Strongly typed enums are supported starting from VC++11.
//
# if (defined(_MSC_VER) && _MSC_VER >= 1700) || \
(defined(ODB_MSC_VER) && ODB_MSC_VER >= 1700)
# define HAVE_CXX11_ENUM
# endif
#endif
#endif /* LIBCOMMON_COMMON_CONFIG_VC_H */
|