Fixed to the features check

This commit is contained in:
Paul Bakker 2014-04-30 16:48:32 +02:00
parent 1a9cb81973
commit 790e395729
4 changed files with 13 additions and 1 deletions

View file

@ -99,7 +99,9 @@ void version_get_string_full( char *string );
*
* \param feature The string for the define to check (e.g. "POLARSSL_AES_C")
*
* \return 0 if the feature is present, -1 if not.
* \return 0 if the feature is present, -1 if the feature is not
* present and -2 if support for feature checking as a whole
* was not compiled in.
*/
int version_check_feature( const char *feature );