/usr/src/packages/BUILD/libsmbios-2.2.26/src/include/smbios_c/config/select_platform_config.h

Go to the documentation of this file.
00001 //  Boost compiler configuration selection header file
00002 
00003 //  (C) Copyright John Maddock 2001 - 2002.
00004 //  (C) Copyright Jens Maurer 2001.
00005 //  Use, modification and distribution are subject to the
00006 //  Boost Software License, Version 1.0. (See accompanying file
00007 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
00008 
00009 //  See http://www.boost.org for most recent version.
00010 //
00011 //  Modified on 2004-03-28 for libsmbios by Michael Brown
00012 //    -- libsmbios only supports limited compiler and platform configs, so we
00013 //    have removed some of the compilers supported by boost. We can add a
00014 //    few back in if they are needed in the future (IBM, Metroworks, etc.)
00015 //
00016 //    To add new platform back in, please copy the relevant lines from boost.
00017 
00018 
00019 // locate which platform we are on and define LIBSMBIOS_PLATFORM_CONFIG as needed.
00020 // Note that we define the headers to include using "header_name" not
00021 // <header_name> in order to prevent macro expansion within the header
00022 // name (for example "linux" is a macro on linux systems).
00023 
00024 #if defined(linux) || defined(__linux) || defined(__linux__)
00025 // linux:
00026 #  define LIBSMBIOS_C_PLATFORM_CONFIG "smbios_c/config/platform/linux.h"
00027 
00028 #elif defined(_WIN64) || defined(__WIN64__) || defined(WIN64)
00029 // win64:
00030 #  define LIBSMBIOS_C_PLATFORM_CONFIG "smbios_c/config/platform/win64.h"
00031 
00032 #elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
00033 // win32:
00034 #  define LIBSMBIOS_C_PLATFORM_CONFIG "smbios_c/config/platform/win32.h"
00035 
00036 #else
00037 
00038 #  if defined (LIBSMBIOS_C_ASSERT_CONFIG)
00039       // this must come last - generate an error if we don't
00040       // recognise the platform:
00041 #     error "Unknown platform - please report to libsmbios maintainer."
00042 #  endif
00043 
00044 #endif
00045 
00046 
00047 

Generated on Wed Oct 6 07:59:03 2010 for libsmbios_c library by  doxygen 1.4.6