libsmbios_c library
|
00001 // (C) Copyright John Maddock 2001 - 2003. 00002 // (C) Copyright Darin Adler 2001 - 2002. 00003 // (C) Copyright Jens Maurer 2001 - 2002. 00004 // (C) Copyright Beman Dawes 2001 - 2003. 00005 // (C) Copyright Douglas Gregor 2002. 00006 // (C) Copyright David Abrahams 2002 - 2003. 00007 // (C) Copyright Synge Todo 2003. 00008 // Use, modification and distribution are subject to the 00009 // Boost Software License, Version 1.0. (See accompanying file 00010 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 00011 00012 // See http://www.boost.org for most recent version. 00013 00014 #define LIBSMBIOS_C_HAS_PRETTY_FUNCTION 00015 #define LIBSMBIOS_C_HAS_FUNCTION 00016 #define LIBSMBIOS_C_PACKED_ATTR __attribute__ ((packed)) 00017 #define LIBSMBIOS_C_COMPILER "GNU C++ version " __VERSION__ 00018 #define LIBSMBIOS_C_HAS_LONG_LONG 00019 #define LIBSMBIOS_C_HAS_VISIBILITY_ATTR 00020 00021 // versions check: 00022 // we don't know gcc prior to version 2.90: 00023 #if (__GNUC__ == 2) && (__GNUC_MINOR__ < 90) 00024 # error "GCC versions < 2.90 not supported" 00025 #endif 00026 // 00027 #if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 5)) 00028 # if defined(LIBSMBIOS_C_ASSERT_CONFIG) 00029 # error "Unknown compiler version - please run the configure tests and report the results" 00030 # else 00031 # warning "Unknown compiler version - please run the configure tests and report the results" 00032 # endif 00033 #endif 00034 00035