aboutsummaryrefslogtreecommitdiff
path: root/libcommon/common/config-vc.h
blob: 17d1bd0023423ee90e873c02e3a655be5311e74f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* file      : libcommon/common/config-vc.h
 * copyright : Copyright (c) 2009-2013 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
#endif

#endif /* LIBCOMMON_COMMON_CONFIG_VC_H */