From: Mikko Rasa Date: Sat, 23 Dec 2023 14:15:29 +0000 (+0200) Subject: Export a few low-level symbols which are needed by other libraries X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=b4d863eee41637abf3a7ed4d5c9ffe0ddb8a9e79;p=libs%2Fcore.git Export a few low-level symbols which are needed by other libraries --- diff --git a/source/io/handle.h b/source/io/handle.h index 06c2034..429642b 100644 --- a/source/io/handle.h +++ b/source/io/handle.h @@ -28,11 +28,11 @@ public: }; -void sys_set_blocking(Handle &, bool); -void sys_set_inherit(Handle &, bool); -std::size_t sys_read(Handle &, char *, std::size_t); -std::size_t sys_write(Handle &, const char *, std::size_t); -void sys_close(Handle &); +MSPCORE_API void sys_set_blocking(Handle &, bool); +MSPCORE_API void sys_set_inherit(Handle &, bool); +MSPCORE_API std::size_t sys_read(Handle &, char *, std::size_t); +MSPCORE_API std::size_t sys_write(Handle &, const char *, std::size_t); +MSPCORE_API void sys_close(Handle &); } // namespace IO } // namespace Msp diff --git a/source/time/unix/rawtime_platform.h b/source/time/unix/rawtime_platform.h index 8f9f633..4c175d6 100644 --- a/source/time/unix/rawtime_platform.h +++ b/source/time/unix/rawtime_platform.h @@ -2,14 +2,15 @@ #define MSP_TIME_RAWTIME_PLATFORM_H_ #include +#include #include "rawtime.h" namespace Msp { namespace Time { -timeval rawtime_to_timeval(RawTime); -timespec rawtime_to_timespec(RawTime); -RawTime timeval_to_rawtime(const timeval &); +MSPCORE_API timeval rawtime_to_timeval(RawTime); +MSPCORE_API timespec rawtime_to_timespec(RawTime); +MSPCORE_API RawTime timeval_to_rawtime(const timeval &); } // namespace Time } // namespace Msp