mirror of https://gitee.com/bigwinds/arangodb
added memchr and timezone for windows
This commit is contained in:
parent
3631125721
commit
f6b40b3395
|
@ -38,11 +38,13 @@
|
|||
#include "Logger/Logger.h"
|
||||
|
||||
// TODO need to this in another way
|
||||
#ifndef TRI_HAVE_GLOBAL_TIMEZONE_PROTO
|
||||
#ifdef GLOBAL_TIMEZONE
|
||||
extern long GLOBAL_TIMEZONE;
|
||||
#else
|
||||
static long GLOBAL_TIMEZONE = 0;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
|
|
@ -595,6 +595,9 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#define GLOBAL_TIMEZONE timezone
|
||||
#define TRI_HAVE_GLOBAL_TIMEZONE_PROTO 1
|
||||
|
||||
#define YY_NO_UNISTD_H 1
|
||||
|
||||
#define TRI_WIN32_CONSOLE 1
|
||||
#define TRI_WIN32_THREAD_LOCAL_STORAGE 1
|
||||
|
@ -611,6 +614,7 @@
|
|||
#define TRI_HAVE_WIN32_PWD 1
|
||||
|
||||
#define TRI_HAVE_ANONYMOUS_MMAP 1
|
||||
#define TRI_MISSING_MEMRCHR 1
|
||||
|
||||
// ..............................................................
|
||||
// usleep in POSIX is for microseconds - not milliseconds
|
||||
|
|
Loading…
Reference in New Issue