[libsoup] Generate SOUP_VERSION_2_90 macro



commit 3ec5a2396a3903153afd6b09d03275098ecc3df5
Author: Carlos Garcia Campos <cgarcia igalia com>
Date:   Thu Jan 7 15:16:57 2021 +0100

    Generate SOUP_VERSION_2_90 macro
    
    Otherwise compilation fails when using SOUP_VERSION_3_0 as SOUP_VERSION_MIN_REQUIRED
    
    error: #error "SOUP_VERSION_MIN_REQUIRED must be <= SOUP_VERSION_CUR_STABLE"
    
    This should be removed once 3.0 version is released

 libsoup/generate-version-header.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/libsoup/generate-version-header.py b/libsoup/generate-version-header.py
index 0bd91ec5..3ddc7f16 100755
--- a/libsoup/generate-version-header.py
+++ b/libsoup/generate-version-header.py
@@ -17,6 +17,7 @@ versions = []
 
 if major == 2:
     # Specific to 3.x dev releases
+    versions.append((2, 90))
     versions.append((3, 0))
 else:
     minor_max = minor if minor != 0 and is_stable(minor) else minor + 1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]