File: cpp_version.hpp

package info (click to toggle)
msgpack-cxx 4.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 8,452 kB
  • sloc: cpp: 87,082; ansic: 3,571; sh: 56; makefile: 39
file content (18 lines) | stat: -rw-r--r-- 369 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef MSGPACK_CPP_VERSION_HPP
#define MSGPACK_CPP_VERSION_HPP

#if defined(_MSC_VER)
#  if _MSC_VER < 1900
#    define MSGPACK_USE_CPP03
#  endif
#elif (__cplusplus < 201103L)
#  define MSGPACK_USE_CPP03
#endif

#if defined(_MSVC_LANG)
#  define MSGPACK_CPP_VERSION _MSVC_LANG
#else
#  define MSGPACK_CPP_VERSION __cplusplus
#endif

#endif // MSGPACK_CPP_VERSION_HPP