gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 01/02: microhttpd.h: moved up MHD_VERSION macro


From: gnunet
Subject: [libmicrohttpd] 01/02: microhttpd.h: moved up MHD_VERSION macro
Date: Thu, 19 Aug 2021 19:15:31 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit dab2db20fdee8f0604ba23fe7a28c047bf36c2c1
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu Aug 19 16:48:25 2021 +0300

    microhttpd.h: moved up MHD_VERSION macro
---
 src/include/microhttpd.h | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 1cec6659..a5731e23 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -88,6 +88,16 @@ extern "C"
 #endif
 #endif
 
+
+/**
+ * Current version of the library in packed BCD form.
+ * @note Version number components are coded as Simple Binary-Coded Decimal
+ * (also called Natural BCD or BCD 8421). While they are hexadecimal numbers,
+ * they are parsed as decimal numbers.
+ * Example: 0x01093001 = 1.9.30-1.
+ */
+#define MHD_VERSION 0x00097309
+
 /* If generic headers don't work on your platform, include headers
    which define 'va_list', 'size_t', 'ssize_t', 'intptr_t',
    'uint16_t', 'uint32_t', 'uint64_t', 'off_t', 'struct sockaddr',
@@ -124,16 +134,6 @@ typedef intptr_t ssize_t;
 #error Cygwin with winsock fd_set is not supported
 #endif
 
-/**
- * Current version of the library in packed BCD form.
- * @note Version number components are coded as Simple Binary-Coded Decimal
- * (also called Natural BCD or BCD 8421). While they are hexadecimal numbers,
- * they are parsed as decimal numbers.
- * Example: 0x01093001 = 1.9.30-1.
- */
-#define MHD_VERSION 0x00097308
-
-
 #ifdef __has_attribute
 #if __has_attribute (flag_enum)
 #define _MHD_FLAGS_ENUM __attribute__((flag_enum))

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]