mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
parent
68be33840a
commit
4dccd668d2
|
@ -202,13 +202,6 @@ const VERSION_PATCH = 0;
|
|||
) \
|
||||
)
|
||||
|
||||
/**
|
||||
* A macro to make compilation fail if the client code is not compatible with
|
||||
* the installed version of Tox.
|
||||
*/
|
||||
#define TOX_VERSION_REQUIRE(MAJOR, MINOR, PATCH) \
|
||||
typedef char tox_required_version[TOX_IS_COMPATIBLE(MAJOR, MINOR, PATCH) ? 1 : -1]
|
||||
|
||||
static namespace version {
|
||||
|
||||
/**
|
||||
|
|
|
@ -205,13 +205,6 @@ uint32_t tox_version_patch(void);
|
|||
) \
|
||||
)
|
||||
|
||||
/**
|
||||
* A macro to make compilation fail if the client code is not compatible with
|
||||
* the installed version of Tox.
|
||||
*/
|
||||
#define TOX_VERSION_REQUIRE(MAJOR, MINOR, PATCH) \
|
||||
typedef char tox_required_version[TOX_IS_COMPATIBLE(MAJOR, MINOR, PATCH) ? 1 : -1]
|
||||
|
||||
/**
|
||||
* Return whether the compiled library version is compatible with the passed
|
||||
* version numbers.
|
||||
|
|
Loading…
Reference in New Issue
Block a user