summaryrefslogtreecommitdiff
path: root/woe32dll/export.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-03-24 08:54:48 +0100
committerJörg Frings-Fürst <debian@jff.email>2024-03-24 08:54:48 +0100
commit163a663518f33bab48b28431972e580b366b4d49 (patch)
treef518ffabaca4a0b93f0103d617e803792d3b0b43 /woe32dll/export.h
parent1b3a8d5ad2ea2f099d514d9dd51ebf926a628076 (diff)
parentdd0000f7e25abe6c28d4329d324fd7fcab54094f (diff)
Merge branch 'release/debian/1.2-1'HEADdebian/1.2-1master
Diffstat (limited to 'woe32dll/export.h')
-rw-r--r--woe32dll/export.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/woe32dll/export.h b/woe32dll/export.h
index b17d9d3d..999b21b8 100644
--- a/woe32dll/export.h
+++ b/woe32dll/export.h
@@ -1,5 +1,5 @@
-/* Exporting symbols from Cygwin shared libraries.
- Copyright (C) 2006, 2011-2020 Free Software Foundation, Inc.
+/* Exporting symbols from Windows shared libraries.
+ Copyright (C) 2006, 2011-2023 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2006.
This program is free software: you can redistribute it and/or
@@ -24,7 +24,7 @@
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. */
-/* There are four ways to build shared libraries on Cygwin:
+/* There are four ways to build shared libraries on Windows:
- Export only functions, no variables.
This has the drawback of severely affecting the programming style in use.
@@ -62,13 +62,13 @@
2. the library sources are contained in one directory, making it easy
to define a -DBUILDING_LIBXYZ flag for the library.
Example:
- #ifdef BUILDING_LIBASPRINTF
- #define LIBASPRINTF_DLL_EXPORTED __declspec(dllexport)
+ #ifdef BUILDING_LIBICONV
+ #define LIBICONV_SHLIB_EXPORTED __declspec(dllexport)
#else
- #define LIBASPRINTF_DLL_EXPORTED __declspec(dllimport)
+ #define LIBICONV_SHLIB_EXPORTED __declspec(dllimport)
#endif
- We use this technique for the libintl and the libasprintf libraries.
+ We use this technique for the libintl and the libiconv libraries.
- Define a macro that expands to __declspec(dllimport) always, and use
it in all header files of the library. Use an explicit export list for