mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
29 lines
638 B
C
29 lines
638 B
C
#include "config.h"
|
|
#ifdef __cplusplus
|
|
#define LIBCSS_BEGIN_DECLS extern "C" {
|
|
#define LIBCSS_END_DECLS }
|
|
#else
|
|
#define LIBCSS_BEGIN_DECLS
|
|
#define LIBCSS_END_DECLS
|
|
#endif
|
|
|
|
#ifndef LIBCSS_PUBLIC
|
|
#if defined(_MSC_VER) && !defined(LIBCSS_STATIC_BUILD)
|
|
#ifdef LIBCSS_DLL_EXPORT
|
|
#define LIBCSS_PUBLIC __declspec(dllexport)
|
|
#else
|
|
#define LIBCSS_PUBLIC __declspec(dllimport)
|
|
#endif
|
|
#elif __GNUC__ >= 4
|
|
#define LIBCSS_PUBLIC extern __attribute__((visibility("default")))
|
|
#else
|
|
#define LIBCSS_PUBLIC extern
|
|
#endif
|
|
#endif
|
|
|
|
#if defined(_WIN32) && !defined(__cplusplus)
|
|
#define LIBCSS_INLINE __inline
|
|
#else
|
|
#define LIBCSS_INLINE static inline
|
|
#endif
|