mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-14 01:25:28 -04:00
Move version defines to build_info.h
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
This commit is contained in:
parent
8d9132f43c
commit
04982f7b6b
@ -26,6 +26,29 @@
|
|||||||
#ifndef MBEDTLS_BUILD_INFO_H
|
#ifndef MBEDTLS_BUILD_INFO_H
|
||||||
#define MBEDTLS_BUILD_INFO_H
|
#define MBEDTLS_BUILD_INFO_H
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This set of compile-time defines can be used to determine the version number
|
||||||
|
* of the mbed TLS library used. Run-time variables for the same can be found in
|
||||||
|
* version.h
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The version number x.y.z is split into three parts.
|
||||||
|
* Major, Minor, Patchlevel
|
||||||
|
*/
|
||||||
|
#define MBEDTLS_VERSION_MAJOR 2
|
||||||
|
#define MBEDTLS_VERSION_MINOR 26
|
||||||
|
#define MBEDTLS_VERSION_PATCH 0
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The single version number has the following structure:
|
||||||
|
* MMNNPP00
|
||||||
|
* Major version | Minor version | Patch version
|
||||||
|
*/
|
||||||
|
#define MBEDTLS_VERSION_NUMBER 0x021A0000
|
||||||
|
#define MBEDTLS_VERSION_STRING "2.26.0"
|
||||||
|
#define MBEDTLS_VERSION_STRING_FULL "mbed TLS 2.26.0"
|
||||||
|
|
||||||
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
|
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
|
||||||
#define _CRT_SECURE_NO_DEPRECATE 1
|
#define _CRT_SECURE_NO_DEPRECATE 1
|
||||||
#endif
|
#endif
|
||||||
|
@ -20,31 +20,15 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
* This set of compile-time defines and run-time variables can be used to
|
* This set of run-time variables can be used to determine the version number of
|
||||||
* determine the version number of the mbed TLS library used.
|
* the mbed TLS library used. Compile-time version defines for the same can be
|
||||||
|
* found in build_info.h
|
||||||
*/
|
*/
|
||||||
#ifndef MBEDTLS_VERSION_H
|
#ifndef MBEDTLS_VERSION_H
|
||||||
#define MBEDTLS_VERSION_H
|
#define MBEDTLS_VERSION_H
|
||||||
|
|
||||||
#include "mbedtls/build_info.h"
|
#include "mbedtls/build_info.h"
|
||||||
|
|
||||||
/**
|
|
||||||
* The version number x.y.z is split into three parts.
|
|
||||||
* Major, Minor, Patchlevel
|
|
||||||
*/
|
|
||||||
#define MBEDTLS_VERSION_MAJOR 2
|
|
||||||
#define MBEDTLS_VERSION_MINOR 26
|
|
||||||
#define MBEDTLS_VERSION_PATCH 0
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The single version number has the following structure:
|
|
||||||
* MMNNPP00
|
|
||||||
* Major version | Minor version | Patch version
|
|
||||||
*/
|
|
||||||
#define MBEDTLS_VERSION_NUMBER 0x021A0000
|
|
||||||
#define MBEDTLS_VERSION_STRING "2.26.0"
|
|
||||||
#define MBEDTLS_VERSION_STRING_FULL "mbed TLS 2.26.0"
|
|
||||||
|
|
||||||
#if defined(MBEDTLS_VERSION_C)
|
#if defined(MBEDTLS_VERSION_C)
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
Loading…
x
Reference in New Issue
Block a user