--- parser3/src/include/pa_common.h 2001/03/13 18:32:46 1.10 +++ parser3/src/include/pa_common.h 2001/03/18 20:31:25 1.14 @@ -3,21 +3,35 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_common.h,v 1.10 2001/03/13 18:32:46 paf Exp $ + $Id: pa_common.h,v 1.14 2001/03/18 20:31:25 paf Exp $ */ #ifndef PA_COMMON_H #define PA_COMMON_H +#ifdef HAVE_CONFIG_H +# include "pa_config.h" +#endif + #include #include "pa_pool.h" +class String; +class Value; + #ifdef WIN32 + +#define open _open +#define close _close +#define read _read +#define stat _stat + #define vsnprintf __vsnprintf #define snprintf __snprintf int __vsnprintf(char *, size_t, const char *, va_list); int __snprintf(char *, size_t, const char *, ...); + #endif char *file_read(Pool& pool, const char *fname, bool fail_on_read_problem=true); @@ -32,5 +46,10 @@ inline int max(int a,int b) { return a>b inline int min(int a,int b){ return a