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))