]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
liblzma: Refer to MinGW-w64 instead of MinGW in the API headers.
authorLasse Collin <lasse.collin@tukaani.org>
Sat, 30 Sep 2023 19:54:28 +0000 (22:54 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Tue, 7 May 2024 14:47:12 +0000 (17:47 +0300)
MinGW (formely a MinGW.org Project, later the MinGW.OSDN Project
at <https://osdn.net/projects/mingw/>) has GCC 9.2.0 as the
most recent GCC package (released 2021-02-02). The project might
still be alive but majority of people have switched to MinGW-w64.
Thus it seems clearer to refer to MinGW-w64 in our API headers too.
Building with MinGW is likely to still work but I haven't tested it
in the recent years.

(cherry picked from commit 5b9e16764905d06fa8e8339ba185ddfee304e5fb)

src/liblzma/api/lzma.h
src/liblzma/api/lzma/version.h

index 33f9112162c6f9a67bf86750230b4b622e1bbe85..f196f49564df762acbd242438fed8c307fd82b70 100644 (file)
  * against static liblzma on them, don't worry about LZMA_API_STATIC. That
  * is, most developers will never need to use LZMA_API_STATIC.
  *
- * The GCC variants are a special case on Windows (Cygwin and MinGW).
+ * The GCC variants are a special case on Windows (Cygwin and MinGW-w64).
  * We rely on GCC doing the right thing with its auto-import feature,
  * and thus don't use __declspec(dllimport). This way developers don't
  * need to worry about LZMA_API_STATIC. Also the calling convention is
- * omitted on Cygwin but not on MinGW.
+ * omitted on Cygwin but not on MinGW-w64.
  */
 #ifndef LZMA_API_IMPORT
 #      if !defined(LZMA_API_STATIC) && defined(_WIN32) && !defined(__GNUC__)
index cfdf9bf92f8da2bcc7a008cbd9e22aee17e21f88..158516c212d3383f779f55ec0e0abb7c487f8779 100644 (file)
@@ -95,7 +95,7 @@
                LZMA_VERSION_COMMIT)
 
 
-/* #ifndef is needed for use with windres (MinGW or Cygwin). */
+/* #ifndef is needed for use with windres (MinGW-w64 or Cygwin). */
 #ifndef LZMA_H_INTERNAL_RC
 
 /**