41#define APR_COPYRIGHT "Copyright (c) 2000-2023 The Apache Software " \
42 "Foundation or its licensors, as applicable."
53#define APR_MAJOR_VERSION 1
59#define APR_MINOR_VERSION 7
65#define APR_PATCH_VERSION 2
86#define APR_VERSION_AT_LEAST(major,minor,patch) \
87(((major) < APR_MAJOR_VERSION) \
88 || ((major) == APR_MAJOR_VERSION && (minor) < APR_MINOR_VERSION) \
89 || ((major) == APR_MAJOR_VERSION && (minor) == APR_MINOR_VERSION && (patch) <= APR_PATCH_VERSION))
91#if defined(APR_IS_DEV_VERSION) || defined(DOXYGEN)
93#ifndef APR_IS_DEV_STRING
94#define APR_IS_DEV_STRING "-dev"
97#define APR_IS_DEV_STRING ""
103#define APR_STRINGIFY(n) APR_STRINGIFY_HELPER(n)
105#define APR_STRINGIFY_HELPER(n) #n
109#define APR_VERSION_STRING \
110 APR_STRINGIFY(APR_MAJOR_VERSION) "." \
111 APR_STRINGIFY(APR_MINOR_VERSION) "." \
112 APR_STRINGIFY(APR_PATCH_VERSION) \
117#define APR_VERSION_STRING_CSV APR_MAJOR_VERSION ##, \
118 ##APR_MINOR_VERSION ##, \
122#ifndef APR_VERSION_ONLY
APR Platform Definitions.
void apr_version(apr_version_t *pvsn)
const char * apr_version_string(void)
Definition: apr_version.h:140
int major
Definition: apr_version.h:141
int patch
Definition: apr_version.h:143
int minor
Definition: apr_version.h:142
int is_dev
Definition: apr_version.h:144