#pragma once

#define LIBOSMO_SIGTRAN_VERSION 2.2.1
#define LIBOSMO_SIGTRAN_VERSION_STR "2.2.1"

#define LIBOSMO_SIGTRAN_VERSION_MAJOR 2
#define LIBOSMO_SIGTRAN_VERSION_MINOR 2
#define LIBOSMO_SIGTRAN_VERSION_PATCH 1

#define LIBOSMO_SIGTRAN_VERSION_GREATER_EQUAL(major, minor, patch) \
	(LIBOSMO_SIGTRAN_VERSION_MAJOR > (major) || \
	 (LIBOSMO_SIGTRAN_VERSION_MAJOR == (major) && \
	  LIBOSMO_SIGTRAN_VERSION_MINOR > (minor)) || \
	 (LIBOSMO_SIGTRAN_VERSION_MAJOR == (major) && \
	  LIBOSMO_SIGTRAN_VERSION_MINOR == (minor) && \
	  LIBOSMO_SIGTRAN_VERSION_PATCH >= (patch)))
