--- parser3/src/include/Attic/pa_db_table.h 2001/10/27 10:14:45 1.4 +++ parser3/src/include/Attic/pa_db_table.h 2001/10/28 11:40:48 1.6 @@ -4,7 +4,7 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_db_table.h,v 1.4 2001/10/27 10:14:45 paf Exp $ + $Id: pa_db_table.h,v 1.6 2001/10/28 11:40:48 paf Exp $ */ #ifndef PA_DB_TABLE_H @@ -14,8 +14,11 @@ #include "pa_globals.h" #include "pa_pool.h" -#ifdef HAVE_DB_H +#ifdef DB2 # include +# if DB_VERSION_MAJOR != 2 +# error Parser needs DB 2.x.x version of libdb to compile +# endif #endif // defines