--- parser3/src/include/pa_config_fixed.h 2013/07/22 20:06:05 1.82 +++ parser3/src/include/pa_config_fixed.h 2019/12/05 22:39:15 1.88 @@ -1,16 +1,18 @@ /** @file Parser: Configure file for autoconf-disabled platforms. - Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) + Copyright (c) 2001-2017 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ #ifndef PA_CONFIG_FIXED_H #define PA_CONFIG_FIXED_H -#define IDENT_PA_CONFIG_FIXED_H "$Id: pa_config_fixed.h,v 1.82 2013/07/22 20:06:05 moko Exp $" +#define IDENT_PA_CONFIG_FIXED_H "$Id: pa_config_fixed.h,v 1.88 2019/12/05 22:39:15 moko Exp $" +#if _MSC_VER < 1310 #define inline __inline +#endif #define HAVE_STDIO_H #define HAVE_SYS_TYPES_H @@ -54,6 +56,10 @@ typedef int ssize_t; typedef unsigned __int8 uint8_t; #endif +#ifndef uint16_t +typedef unsigned __int16 uint16_t; +#endif + #ifndef uint32_t typedef unsigned __int32 uint32_t; #endif @@ -70,15 +76,12 @@ typedef unsigned __int64 uint64_t; // disable stringstream usage //#define NO_STRINGSTREAM +#define GC_NOT_DLL + //xml-abled parser #define XML -//#define XML_STATIC -#ifdef XML_STATIC -# define LIBXML_STATIC -# define LIBXSLT_STATIC -# define LIBEXSLT_STATIC -#endif +#define XML_STATIC // otherwise functions in pcre.h will be declared as __declspec(dllimport) #define PCRE_STATIC