1
0
Fork 0

added memchr and timezone for windows

This commit is contained in:
Frank Celler 2013-12-03 13:55:40 +01:00
parent 3631125721
commit f6b40b3395
2 changed files with 6 additions and 0 deletions

View File

@ -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;

View File

@ -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