mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
Added ability to define your own XATOI
This commit is contained in:
@@ -485,10 +485,12 @@
|
|||||||
defined(HAVE_CRL_IO) || defined(HAVE_HTTP_CLIENT) || \
|
defined(HAVE_CRL_IO) || defined(HAVE_HTTP_CLIENT) || \
|
||||||
!defined(NO_CRYPT_BENCHMARK)
|
!defined(NO_CRYPT_BENCHMARK)
|
||||||
|
|
||||||
|
#ifndef XATOI /* if custom XATOI is not already defined */
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#define XATOI(s) atoi((s))
|
#define XATOI(s) atoi((s))
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef USE_WOLF_STRTOK
|
#ifdef USE_WOLF_STRTOK
|
||||||
WOLFSSL_API char* wc_strtok(char *str, const char *delim, char **nextp);
|
WOLFSSL_API char* wc_strtok(char *str, const char *delim, char **nextp);
|
||||||
|
Reference in New Issue
Block a user