#pragma once

#define LIBOSMO_GSUP_CLIENT_VERSION {{VERSION}}
#define LIBOSMO_GSUP_CLIENT_VERSION_STR "{{VERSION}}"

#define LIBOSMO_GSUP_CLIENT_VERSION_MAJOR {{VERSION_MAJOR}}
#define LIBOSMO_GSUP_CLIENT_VERSION_MINOR {{VERSION_MINOR}}
#define LIBOSMO_GSUP_CLIENT_VERSION_PATCH {{VERSION_PATCH}}

#define LIBOSMO_GSUP_CLIENT_VERSION_GREATER_EQUAL(major, minor, patch) \
	(LIBOSMO_GSUP_CLIENT_VERSION_MAJOR > (major) || \
	 (LIBOSMO_GSUP_CLIENT_VERSION_MAJOR == (major) && \
	  LIBOSMO_GSUP_CLIENT_VERSION_MINOR > (minor)) || \
	 (LIBOSMO_GSUP_CLIENT_VERSION_MAJOR == (major) && \
	  LIBOSMO_GSUP_CLIENT_VERSION_MINOR == (minor) && \
	  LIBOSMO_GSUP_CLIENT_VERSION_PATCH >= (patch)))
