--- parser3/src/include/pa_config_includes.h 2005/12/16 10:15:12 1.32 +++ parser3/src/include/pa_config_includes.h 2012/03/16 09:24:09 1.34 @@ -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, @@ -175,6 +175,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