mirror of
https://github.com/lux-tel/libsession-util.git
synced 2026-10-30 20:25:11 +00:00
- Fix enum config_log_level typedef for C - Make sure C funcs are properly exported
9 lines
232 B
C
9 lines
232 B
C
#pragma once
|
|
|
|
#if defined(_WIN32) || defined(WIN32)
|
|
#define LIBSESSION_EXPORT __declspec(dllexport)
|
|
#else
|
|
#define LIBSESSION_EXPORT __attribute__((visibility("default")))
|
|
#endif
|
|
#define LIBSESSION_C_API extern "C" LIBSESSION_EXPORT
|