blob: faa6c85952fb1f0d53dc9f70dfbca227bda7fd5e [file] [log] [blame]
/* SPDX-License-Identifier: BSD-3-Clause */
#ifndef LIBSLIRP_VERSION_H_
#define LIBSLIRP_VERSION_H_
#ifdef __cplusplus
extern "C" {
#endif
#define SLIRP_MAJOR_VERSION @SLIRP_MAJOR_VERSION@
#define SLIRP_MINOR_VERSION @SLIRP_MINOR_VERSION@
#define SLIRP_MICRO_VERSION @SLIRP_MICRO_VERSION@
#define SLIRP_VERSION_STRING @SLIRP_VERSION_STRING@
#define SLIRP_CHECK_VERSION(major,minor,micro) \
(SLIRP_MAJOR_VERSION > (major) || \
(SLIRP_MAJOR_VERSION == (major) && SLIRP_MINOR_VERSION > (minor)) || \
(SLIRP_MAJOR_VERSION == (major) && SLIRP_MINOR_VERSION == (minor) && \
SLIRP_MICRO_VERSION >= (micro)))
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* LIBSLIRP_VERSION_H_ */