LiteSQL 0.3.10
compatibility.hpp
1#ifndef compatibility_hpp
2#define compatibility_hpp
3#include "config.h"
4
5#ifdef HAVE_MEMORY_H
6#include <memory.h>
7#endif // #ifdef HAVE_MEMORY_H
8
9#ifndef HAVE_STRTOLL
10long long int strtoll(const char *nptr, char **endptr, int base);
11#endif
12#ifndef HAVE_STRTOF
13float strtof (const char *nptr, char **endptr);
14#endif
15#ifndef HAVE_LOCALTIME_R
16#ifdef WIN32
17#include <time.h>
18#endif
19struct tm *localtime_r(const time_t *clock, struct tm *result);
20#endif
21
22#ifdef WIN32
23#define snprintf _snprintf
24#endif
25
26#endif

SourceForge.net Logo