--- parser3/src/include/pa_common.h 2001/03/21 14:06:43 1.20 +++ parser3/src/include/pa_common.h 2001/03/24 08:54:01 1.22 @@ -5,24 +5,21 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_common.h,v 1.20 2001/03/21 14:06:43 paf Exp $ + $Id: pa_common.h,v 1.22 2001/03/24 08:54:01 paf Exp $ */ #ifndef PA_COMMON_H #define PA_COMMON_H -#ifdef HAVE_CONFIG_H -# include "pa_config.h" -#endif - +#include "pa_config_includes.h" #include -#include + #include "pa_pool.h" class String; class Value; -#ifdef WIN32 +#if _MSC_VER #ifndef open # define open _open @@ -33,6 +30,9 @@ class Value; #ifndef read # define read _read #endif +#ifndef write +# define write _write +#endif #ifndef stat # define stat _stat #endif @@ -93,7 +93,7 @@ void file_write(Pool& pool, or to zero if no @a delim were found. */ char *getrow(char **row_ref,char delim='\n'); -//char *lsplit(char *,char); +//char *lsplit(char *string, char delim); char *lsplit(char **string_ref,char delim); char *rsplit(char *string, char delim); char *format(Pool& pool, double value, char *fmt);