Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-22 10:47:19

0001 #ifndef LIBPKGCONF_LIBPKGCONF_API_H
0002 #define LIBPKGCONF_LIBPKGCONF_API_H
0003 
0004 /* Makefile.am specifies visibility using the libtool option -export-symbols-regex '^pkgconf_'
0005  * Unfortunately, that is not available when building with meson, so use attributes instead.
0006  */
0007 #if defined(PKGCONFIG_IS_STATIC)
0008 # define PKGCONF_API
0009 #elif defined(_WIN32) || defined(_WIN64)
0010 # if defined(LIBPKGCONF_EXPORT) || defined(DLL_EXPORT)
0011 #  define PKGCONF_API __declspec(dllexport)
0012 # else
0013 #  define PKGCONF_API __declspec(dllimport)
0014 # endif
0015 #else
0016 # define PKGCONF_API __attribute__((visibility("default")))
0017 #endif
0018 
0019 #endif