]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
Fix version getting out of sync #175 178/head 185/head
authorKonstantinos Margaritis <markos@freevec.org>
Tue, 3 Oct 2023 06:57:10 +0000 (09:57 +0300)
committerKonstantinos Margaritis <markos@freevec.org>
Tue, 3 Oct 2023 06:57:10 +0000 (09:57 +0300)
src/hs.h
src/hs_version.h.in

index cdc1ffbc9fbd36b631ce8f8fd53451d625819b0c..5f363a608cf162f55fc161dffd81739e6830ebbe 100644 (file)
--- a/src/hs.h
+++ b/src/hs.h
  * the individual component headers for documentation.
  */
 
-/* The current Hyperscan version information. */
-
-#define HS_MAJOR      5
-#define HS_MINOR      4
-#define HS_PATCH      9
-
+#include "hs_version.h"
 #include "hs_compile.h"
 #include "hs_runtime.h"
 
index 4412730ddeb14f2ed736933af7b47ad479842eca..67842219444c2e1355dcb69071d4eded0b71508a 100644 (file)
@@ -36,5 +36,9 @@
 
 #define HS_VERSION_32BIT ((@HS_MAJOR_VERSION@ << 24) | (@HS_MINOR_VERSION@ << 16) | (@HS_PATCH_VERSION@ << 8) | 0)
 
+#define HS_MAJOR      @HS_MAJOR_VERSION@
+#define HS_MINOR      @HS_MINOR_VERSION@
+#define HS_PATCH      @HS_PATCH_VERSION@
+
 #endif /* HS_VERSION_H_C6428FAF8E3713 */