--- parser3/src/main/pa_common.C 2001/03/21 14:06:45 1.20 +++ parser3/src/main/pa_common.C 2001/03/23 13:08:10 1.22 @@ -5,26 +5,17 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_common.C,v 1.20 2001/03/21 14:06:45 paf Exp $ + $Id: pa_common.C,v 1.22 2001/03/23 13:08:10 paf Exp $ */ -#ifdef HAVE_CONFIG_H -# include "pa_config.h" -#endif +#include "pa_config_includes.h" #include -#include #include #include #include -#include #include -#ifdef WIN32 -#else -# include -#endif - #include "pa_common.h" #include "pa_types.h" #include "pa_exception.h" @@ -34,7 +25,7 @@ #include "pa_hash.h" #include "pa_string.h" -#ifdef WIN32 +#if _MSC_VER int __vsnprintf(char *b, size_t s, const char *f, va_list l) { int r=_vsnprintf(b, --s, f, l); @@ -75,7 +66,7 @@ char *file_read_text(Pool& pool, const c if(fail_on_read_problem) PTHROW(0,0, 0, - "use: can not read '%s' file", fname); + "can not read '%s' file", fname); return 0; }