Added ability to define your own XATOI

This commit is contained in:
David Garske
2019-08-02 06:16:41 -07:00
parent 8ce2dd4bf7
commit 0e1d81e63f

View File

@ -485,8 +485,10 @@
defined(HAVE_CRL_IO) || defined(HAVE_HTTP_CLIENT) || \
!defined(NO_CRYPT_BENCHMARK)
#include <stdlib.h>
#define XATOI(s) atoi((s))
#ifndef XATOI /* if custom XATOI is not already defined */
#include <stdlib.h>
#define XATOI(s) atoi((s))
#endif
#endif
#endif