mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-27 04:09:31 +03:00
microhttpd.h: moved up MHD_VERSION macro
This commit is contained in:
+10
-10
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user