/
githubmirror
/
pkgconf
Обзор
Документация
Войти
/
githubmirror
/
pkgconf
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
libpkgconf/libpkgconf-api.h
19 строк
599 B
Andrea Pappacoda
docs: mention Meson instead of CMake for Win build
11 дек 2021, 16:49
Не верифицирован
11 дек 2021, 16:49
6109e06
Код
Авторство
О чём код?
#ifndef LIBPKGCONF_LIBPKGCONF_API_H #define LIBPKGCONF_LIBPKGCONF_API_H /* Makefile.am specifies visibility using the libtool option -export-symbols-regex '^pkgconf_' * Unfortunately, that is not available when building with meson, so use attributes instead. */ #if defined(PKGCONFIG_IS_STATIC) # define PKGCONF_API #elif defined(_WIN32) || defined(_WIN64) # if defined(LIBPKGCONF_EXPORT) || defined(DLL_EXPORT) # define PKGCONF_API __declspec(dllexport) # else # define PKGCONF_API __declspec(dllimport) # endif #else # define PKGCONF_API __attribute__((visibility("default"))) #endif #endif