/
githubmirror
/
libsmbios
Обзор
Документация
Войти
/
githubmirror
/
libsmbios
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/libsmbios_c/common/select_platform_config.h
18 строк
584 B
Mario Limonciello
Drop Solaris support
23 янв 2018, 19:39
23 янв 2018, 19:39
ca7b0be
Код
Авторство
О чём код?
#if defined(linux) || defined(__linux) || defined(__linux__) // linux: # define LIBSMBIOS_C_INTERNAL_PLATFORM_CONFIG "platform/linux.h" #elif defined(_WIN64) || defined(__WIN64__) || defined(WIN64) // win64: # define LIBSMBIOS_C_INTERNAL_PLATFORM_CONFIG "platform/win64.h" #elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) // win32: # define LIBSMBIOS_C_INTERNAL_PLATFORM_CONFIG "platform/win32.h" #else // this must come last - generate an error if we don't // recognise the platform: # error "Unknown platform - please report to libsmbios maintainer." #endif