From 8299ba653b6a5bc85cf16de89df6d52055895512 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Tue, 3 Jan 2023 18:42:02 +0100 Subject: Fix exports --- mime.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mime.h') diff --git a/mime.h b/mime.h index c05eb45..8065d4f 100644 --- a/mime.h +++ b/mime.h @@ -2,4 +2,6 @@ #include -std::string mime_type(const std::string& path); +#define EXPORT __attribute__((visibility("default"))) + +EXPORT std::string mime_type(const std::string& path); -- cgit v1.2.3