Skip to content

Commit 68b758d

Browse files
committed
Add _CPPP_API to locale_charset() implementation.
1 parent 007d6fb commit 68b758d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/locale_charset.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
* If not, see <https://www.gnu.org/licenses/>.
2222
*/
2323

24+
#include "cppp/reiconv.h"
25+
2426
#include "cppp/cppp-platform.h"
2527

2628
#include <locale.h>
@@ -57,7 +59,7 @@
5759
#include "localecharset/locale_table.h"
5860
#endif // !HAVE_LANGINFO_CODESET && !WINDOWS_NATIVE
5961

60-
const char *locale_charset()
62+
_CPPP_API const char *locale_charset()
6163
{
6264
#if IS_WINDOWS_NATIVE
6365
return windows_getcp();

0 commit comments

Comments
 (0)