41#define APR_COPYRIGHT "Copyright 2025 The Apache Software Foundation."
52#define APR_MAJOR_VERSION 2
58#define APR_MINOR_VERSION 0
64#define APR_PATCH_VERSION 0
71#define APR_IS_DEV_VERSION
85#define APR_VERSION_AT_LEAST(major,minor,patch) \
86(((major) < APR_MAJOR_VERSION) \
87 || ((major) == APR_MAJOR_VERSION && (minor) < APR_MINOR_VERSION) \
88 || ((major) == APR_MAJOR_VERSION && (minor) == APR_MINOR_VERSION && (patch) <= APR_PATCH_VERSION))
90#if defined(APR_IS_DEV_VERSION) || defined(DOXYGEN)
92#ifndef APR_IS_DEV_STRING
93#define APR_IS_DEV_STRING "-dev"
96#define APR_IS_DEV_STRING ""
102#define APR_STRINGIFY(n) APR_STRINGIFY_HELPER(n)
104#define APR_STRINGIFY_HELPER(n) #n
108#define APR_VERSION_STRING \
109 APR_STRINGIFY(APR_MAJOR_VERSION) "." \
110 APR_STRINGIFY(APR_MINOR_VERSION) "." \
111 APR_STRINGIFY(APR_PATCH_VERSION) \
116#define APR_VERSION_STRING_CSV APR_MAJOR_VERSION, \
121#ifndef APR_VERSION_ONLY
APR Platform Definitions.
void apr_version(apr_version_t *pvsn)
const char * apr_version_string(void)
Definition apr_version.h:139
int major
Definition apr_version.h:140
int patch
Definition apr_version.h:142
int minor
Definition apr_version.h:141
int is_dev
Definition apr_version.h:143