libcharset/include/export.h

Branch


Log

Author Commit Date CI Message
Bruno Haible 6ad5ae56 2023-09-16T12:04:24 Fix a misnomer. * include/export.h (LIBICONV_SHLIB_EXPORTED): Renamed from LIBICONV_DLL_EXPORTED. Prefer the term "shared library", since the term "DLL" applies only to Windows. * Makefile.devel (include/iconv.h.build.in): Insert LIBICONV_SHLIB_EXPORTED instead of LIBICONV_DLL_EXPORTED. * configure.ac (DLL_VARIABLE): Update comment. * lib/Makefile.in (DEFS): Update comment. * woe32dll/export.h: Update comment. * libcharset/include/export.h (LIBCHARSET_SHLIB_EXPORTED): Renamed from LIBCHARSET_DLL_EXPORTED. Prefer the term "shared library", since the term "DLL" applies only to Windows. * libcharset/Makefile.devel (include/libcharset.h.build.in, include/localcharset.h.build.in): Insert LIBCHARSET_SHLIB_EXPORTED instead of LIBCHARSET_DLL_EXPORTED. * libcharset/lib/relocatable-stub.c (libcharset_set_relocation_prefix): Use LIBCHARSET_SHLIB_EXPORTED instead of LIBCHARSET_DLL_EXPORTED. * libcharset/lib/Makefile.in (DEFS): Update comment. * libcharset/Makefile.in (install-lib): Update comment.
Bruno Haible bacf3318 2023-09-06T03:29:12 Don't export symbols from static MSVC .obj files. Suggested by Dmitry Bely <dmitry.bely@gmail.com> in <https://lists.gnu.org/archive/html/bug-gnu-libiconv/2023-08/msg00002.html>. * include/export.h: Add a copyright notice. Set LIBICONV_DLL_EXPORTED to empty on MSVC when DLL_EXPORT is not defined. * Makefile.devel (include/iconv.h.build.in): Filter out the second copyright notice. * configure.ac (DLL_VARIABLE): Test DLL_EXPORT, not _DLL. * lib/relocatable.h: From gnulib: (RELOCATABLE_DLL_EXPORTED): Don't use __declspec(dllexport) when creating static .obj files with MSVC. * libcharset/include/export.h: Add a copyright notice. Set LIBCHARSET_DLL_EXPORTED to empty on MSVC when DLL_EXPORT is not defined. * libcharset/Makefile.devel (include/libcharset.h.build.in, include/localcharset.h.build.in): Filter out the second copyright notice.
Bruno Haible ba8fe48f 2018-09-22T15:39:54 Avoid some warnings in MSVC build.
Bruno Haible 05b4c440 2005-07-25T12:02:41 Support for controlling the exported symbols of the shared library.