3 commits - README.md src/cairo-compiler-private.h

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jul 14 14:42:29 UTC 2025


 README.md                    |    2 +-
 src/cairo-compiler-private.h |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit a4d5a24d60546f7ccca50b0b000d9eab6075b9f6
Merge: 6ac534830 c7a3e6c51
Author: Emmanuele Bassi <ebassi at gmail.com>
Date:   Mon Jul 14 14:42:26 2025 +0000

    Merge branch 'fix-msc-ver-compare' into 'master'
    
    Check if _MSC_VER macro is defined
    
    See merge request cairo/cairo!611

commit c7a3e6c519562e7fb37304c1364d6126b59e5005
Author: Luca Bacci <luca.bacci982 at gmail.com>
Date:   Wed Feb 12 11:22:59 2025 +0100

    Check if _MSC_VER macro is defined
    
    Original patch from MSYS2:
    https://github.com/msys2/MINGW-packages/blob/36dd8e0bdf/mingw-w64-cairo/0030-ucrt-clang-fixes.patch

diff --git a/src/cairo-compiler-private.h b/src/cairo-compiler-private.h
index 6c3fea81c..1aaced394 100644
--- a/src/cairo-compiler-private.h
+++ b/src/cairo-compiler-private.h
@@ -164,8 +164,8 @@
 #define popen _popen
 #define strdup _strdup
 #define unlink _unlink
-#if _MSC_VER < 1900
-  #define vsnprintf _vsnprintf // TODO
+#if defined (_MSC_VER) && _MSC_VER < 1900
+  #define vsnprintf _vsnprintf
   #define snprintf _snprintf
 #endif
 #endif
commit b9bab3defb68f2d1ce9334ce98a7d7698935c98a
Author: Luca Bacci <luca.bacci982 at gmail.com>
Date:   Mon Feb 24 21:29:32 2025 +0100

    Readme: Remove leftover mention of Windows 2000
    
    We support Windows Vista or newer

diff --git a/README.md b/README.md
index 2bd26068b..85ea969d4 100644
--- a/README.md
+++ b/README.md
@@ -145,7 +145,7 @@ system pixman.
 
 #### Windows GDI font backend
 
-- Microsoft Windows 2000 or newer
+- Microsoft Windows Vista or newer
 
 #### Windows DirectWrite font backend
 


More information about the cairo-commit mailing list