--- parser3/src/include/pa_config_includes.h 2005/12/16 10:15:12 1.32 +++ parser3/src/include/pa_config_includes.h 2012/06/09 10:55:35 1.35 @@ -1,7 +1,7 @@ /** @file Parser: includes all Configure-d headers - Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) when used Configure [HAVE_CONFIG_H] it uses defines from Configure, @@ -80,6 +80,10 @@ # include #endif +#ifdef HAVE_LIMITS_H +#include +#endif + #ifdef HAVE_DIRECT_H # include #endif @@ -175,6 +179,11 @@ inline size_t min(size_t a, size_t b){ r #endif +#ifdef WIN32 +#define THREAD_LOCAL __declspec(thread) +#else +#define THREAD_LOCAL // __thread // multithreading support required only for apache2 module +#endif #if _MSC_VER // using this in calls to parent constructors