mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-12-01 16:56:34 +01:00
23 lines
578 B
C
23 lines
578 B
C
#include "config.h"
|
|
#ifdef __cplusplus
|
|
#define LIBUI_SERVER_BEGIN_DECLS extern "C" {
|
|
#define LIBUI_SERVER_END_DECLS }
|
|
#else
|
|
#define LIBUI_SERVER_BEGIN_DECLS
|
|
#define LIBUI_SERVER_END_DECLS
|
|
#endif
|
|
|
|
#ifndef LIBUI_SERVER_PUBLIC
|
|
#if defined(_MSC_VER) && !defined(LIBUI_SERVER_STATIC_BUILD)
|
|
#ifdef LIBUI_SERVER_DLL_EXPORT
|
|
#define LIBUI_SERVER_PUBLIC __declspec(dllexport)
|
|
#else
|
|
#define LIBUI_SERVER_PUBLIC __declspec(dllimport)
|
|
#endif
|
|
#elif __GNUC__ >= 4
|
|
#define LIBUI_SERVER_PUBLIC extern __attribute__((visibility("default")))
|
|
#else
|
|
#define LIBUI_SERVER_PUBLIC extern
|
|
#endif
|
|
#endif
|