--- parser3/src/include/pa_config_includes.h 2002/11/25 15:37:12 1.22 +++ parser3/src/include/pa_config_includes.h 2003/04/11 15:00:05 1.24 @@ -1,7 +1,7 @@ /** @file Parser: includes all Configure-d headers - Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001, 2003 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) when used Configure [HAVE_CONFIG_H] it uses defines from Configure, @@ -137,3 +137,11 @@ #ifdef HAVE_NETDB_H #include #endif + +#if !defined(max) && !defined(PA_DEFINED_MAX) +inline int max(int a, int b) { return a>b?a:b; } +inline int min(int a, int b){ return ab?a:b; } +inline size_t min(size_t a, size_t b){ return a