libjxl is a library for encoding and decoding JPEG XL images Downloaded from https://github.com/libjxl/libjxl/archive/refs/tags/v0.11.2.tar.gz Change-Id: Ibb498f96b3576be603ee9a1c3c494d2ac99c403a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207085 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
44 lines
1.1 KiB
C
44 lines
1.1 KiB
C
|
|
#ifndef JXL_CMS_EXPORT_H
|
|
#define JXL_CMS_EXPORT_H
|
|
|
|
#ifdef JXL_CMS_STATIC_DEFINE
|
|
# define JXL_CMS_EXPORT
|
|
# define JXL_CMS_NO_EXPORT
|
|
#else
|
|
# ifndef JXL_CMS_EXPORT
|
|
# ifdef jxl_cms_EXPORTS
|
|
/* We are building this library */
|
|
# define JXL_CMS_EXPORT __attribute__((visibility("default")))
|
|
# else
|
|
/* We are using this library */
|
|
# define JXL_CMS_EXPORT __attribute__((visibility("default")))
|
|
# endif
|
|
# endif
|
|
|
|
# ifndef JXL_CMS_NO_EXPORT
|
|
# define JXL_CMS_NO_EXPORT __attribute__((visibility("hidden")))
|
|
# endif
|
|
#endif
|
|
|
|
#ifndef JXL_CMS_DEPRECATED
|
|
# define JXL_CMS_DEPRECATED __attribute__ ((__deprecated__))
|
|
#endif
|
|
|
|
#ifndef JXL_CMS_DEPRECATED_EXPORT
|
|
# define JXL_CMS_DEPRECATED_EXPORT JXL_CMS_EXPORT JXL_CMS_DEPRECATED
|
|
#endif
|
|
|
|
#ifndef JXL_CMS_DEPRECATED_NO_EXPORT
|
|
# define JXL_CMS_DEPRECATED_NO_EXPORT JXL_CMS_NO_EXPORT JXL_CMS_DEPRECATED
|
|
#endif
|
|
|
|
/* NOLINTNEXTLINE(readability-avoid-unconditional-preprocessor-if) */
|
|
#if 0 /* DEFINE_NO_DEPRECATED */
|
|
# ifndef JXL_CMS_NO_DEPRECATED
|
|
# define JXL_CMS_NO_DEPRECATED
|
|
# endif
|
|
#endif
|
|
|
|
#endif /* JXL_CMS_EXPORT_H */
|