libsmbios_c library
src
include
smbios_c
config
compiler
visualc.h
Go to the documentation of this file.
1
// (C) Copyright John Maddock 2001 - 2003.
2
// (C) Copyright Darin Adler 2001 - 2002.
3
// (C) Copyright Peter Dimov 2001.
4
// (C) Copyright Aleksey Gurtovoy 2002.
5
// (C) Copyright David Abrahams 2002 - 2003.
6
// (C) Copyright Beman Dawes 2002 - 2003.
7
// Use, modification and distribution are subject to the
8
// Boost Software License, Version 1.0. (See accompanying file
9
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
10
11
// See http://www.boost.org for most recent version.
12
13
// Microsoft Visual C++ compiler setup:
14
15
#define LIBSMBIOS_C_MSVC _MSC_VER
16
#define LIBSMBIOS_C_HAS_FUNCTION
17
#define LIBSMBIOS_C_HAS_LONG_LONG
18
#define LIBSMBIOS_C_HAS_DECLSPEC
19
#define LIBSMBIOS_C_PACKED_ATTR
20
21
#ifndef _NATIVE_WCHAR_T_DEFINED
22
# define LIBSMBIOS_C_NO_INTRINSIC_WCHAR_T
23
#endif
24
25
//
26
// prefix and suffix headers:
27
//
28
#ifndef LIBSMBIOS_C_ABI_PREFIX
29
# define LIBSMBIOS_C_ABI_PREFIX "smbios_c/config/abi/msvc_prefix.h"
30
#endif
31
#ifndef LIBSMBIOS_C_ABI_SUFFIX
32
# define LIBSMBIOS_C_ABI_SUFFIX "smbios_c/config/abi/msvc_suffix.h"
33
#endif
34
35
#if _MSC_VER == 1310
36
# define LIBSMBIOS_C_COMPILER_VERSION 7.1
37
# elif _MSC_VER == 1400
38
# define LIBSMBIOS_C_COMPILER_VERSION 8.0
39
# elif _MSC_VER == 1500
40
# define LIBSMBIOS_C_COMPILER_VERSION 9.0
41
# else
42
# define LIBSMBIOS_C_COMPILER_VERSION _MSC_VER
43
#endif
44
45
#define LIBSMBIOS_C_COMPILER "Microsoft Visual C++ version "
LIBSMBIOS_C_STRINGIZE(LIBSMBIOS_C_COMPILER_VERSION)
46
47
//
48
// versions check:
49
// we don't support Visual C++ prior to version 8:
50
// need variadic macros
51
#if _MSC_VER < 1400
52
#error "Compiler looks ancient. Sorry but we dont support it MSVC++ prior to version 8.0."
53
#endif
54
//
55
// last known and checked version is 1310:
56
#if (_MSC_VER > 1500)
57
# if defined(LIBSMBIOS_C_ASSERT_CONFIG)
58
# error "Unknown compiler version - please run the configure tests and report the results"
59
# else
60
# pragma message("Unknown compiler version - please run the configure tests and report the results"
)
61
# endif
62
#endif
Generated on Fri Mar 21 2025 00:00:00 for libsmbios_c library by
1.9.6